2024-02-21 02:13:48 -08:00
|
|
|
import { defineConfig } from "vite";
|
|
|
|
import react from "@vitejs/plugin-react";
|
2024-02-17 03:17:38 -08:00
|
|
|
|
|
|
|
// https://vitejs.dev/config/
|
|
|
|
export default defineConfig({
|
|
|
|
plugins: [react()],
|
2024-02-21 02:13:48 -08:00
|
|
|
server: {
|
|
|
|
proxy: {
|
|
|
|
"/api": {
|
2024-07-21 09:26:11 -07:00
|
|
|
target: "https://demo.promlabs.com",
|
|
|
|
changeOrigin: true,
|
|
|
|
secure: false,
|
2024-02-21 02:13:48 -08:00
|
|
|
},
|
2024-07-15 13:21:14 -07:00
|
|
|
"/-/": {
|
2024-07-21 09:26:11 -07:00
|
|
|
target: "https://demo.promlabs.com",
|
|
|
|
changeOrigin: true,
|
|
|
|
secure: false,
|
2024-07-15 13:21:14 -07:00
|
|
|
},
|
2024-02-21 02:13:48 -08:00
|
|
|
},
|
|
|
|
},
|
|
|
|
});
|