aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/vite.config.ts
blob: 126d1def942e51e652ff11035fdf569e9bb6b93b (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
      }
    }
  }
})