16 lines
293 B
TypeScript
16 lines
293 B
TypeScript
import react from "@vitejs/plugin-react"
|
|
import { defineConfig } from "vite"
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
server: {
|
|
host: true,
|
|
port: 5173,
|
|
proxy: {
|
|
"/api": {
|
|
target: "http://backend:8000",
|
|
changeOrigin: true,
|
|
},
|
|
},
|
|
},
|
|
}) |