13 lines
317 B
TypeScript
13 lines
317 B
TypeScript
import { defineConfig } from "vite";
|
|
import react from "@vitejs/plugin-react";
|
|
|
|
// https://vite.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
server: {
|
|
proxy: {
|
|
// Local dev: Vite on :5173 proxies API calls to the backend container.
|
|
"/api": "http://localhost:8000",
|
|
},
|
|
},
|
|
}); |