blob: 430ad40e39653096206b9b55dd6c3181d4a701a8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
import { defineConfig } from "vite";
import tsconfigPaths from "vite-tsconfig-paths";
import { reactRouter } from "@react-router/dev/vite";
// https://vitejs.dev/config/
export default defineConfig({
plugins: [reactRouter(), tsconfigPaths()],
server: {
proxy: {
"^/api": {
target: "https://localhost:7240",
secure: false,
},
},
},
});
|