aboutsummaryrefslogtreecommitdiff
path: root/app/vite.config.ts
blob: a33bc0143c365295d65292cc01c747e8da24b738 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'

// https://vite.dev/config/
export default defineConfig({
  plugins: [react()],

  // Proxy to the backend server
  server: {
    proxy: {
      '/api': 'http://localhost:5252',
    },
  },
})