13 lines
254 B
JavaScript
13 lines
254 B
JavaScript
import react from "@vitejs/plugin-react";
|
|
import { defineConfig } from "vite";
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
server: {
|
|
proxy: {
|
|
"/api": "http://127.0.0.1:8787",
|
|
"/health": "http://127.0.0.1:8787",
|
|
},
|
|
},
|
|
});
|