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

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

  // Run on 127.0.0.1
  server: {
    host: '127.0.0.1',
    proxy: {
      '/api': 'http://127.0.0.1:5252',
    },
  },
})