Files
kopilka/frontend/vite.config.ts
T
2026-05-27 14:52:19 +03:00

14 lines
239 B
TypeScript

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
export default defineConfig({
plugins: [react()],
server: {
host: true,
port: 3000,
proxy: {
'/api': 'http://backend:8000',
},
},
})