Initial commit
This commit is contained in:
12
hsbg_ai/frontend/vite.config.js
Normal file
12
hsbg_ai/frontend/vite.config.js
Normal file
@@ -0,0 +1,12 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import react from '@vitejs/plugin-react'
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
server: {
|
||||
proxy: {
|
||||
'/api': { target: 'http://localhost:8000', changeOrigin: true },
|
||||
'/ws': { target: 'ws://localhost:8000', ws: true }
|
||||
}
|
||||
},
|
||||
build: { outDir: 'dist' }
|
||||
})
|
||||
Reference in New Issue
Block a user