2024-02-21 10:13:48 +00:00
|
|
|
import { defineConfig } from "vite";
|
|
|
|
import react from "@vitejs/plugin-react";
|
2024-02-17 11:17:38 +00:00
|
|
|
|
|
|
|
// https://vitejs.dev/config/
|
|
|
|
export default defineConfig({
|
|
|
|
plugins: [react()],
|
2024-02-21 10:13:48 +00:00
|
|
|
server: {
|
|
|
|
proxy: {
|
|
|
|
"/api": {
|
2024-07-25 12:28:56 +00:00
|
|
|
target: "http://localhost:9090",
|
2024-02-21 10:13:48 +00:00
|
|
|
},
|
2024-07-15 20:21:14 +00:00
|
|
|
"/-/": {
|
2024-07-25 12:28:56 +00:00
|
|
|
target: "http://localhost:9090",
|
2024-07-15 20:21:14 +00:00
|
|
|
},
|
2024-02-21 10:13:48 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
});
|