Files
gen2d/frontend/vite.config.ts
T

24 lines
476 B
TypeScript
Raw Normal View History

2026-05-23 12:30:06 +08:00
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
export default defineConfig({
plugins: [react()],
server: {
port: 3000,
proxy: {
'/api': {
target: 'http://localhost:8080',
changeOrigin: true,
},
'/auth': {
target: 'http://localhost:8080',
changeOrigin: true,
},
'/generation': {
target: 'http://localhost:8080',
changeOrigin: true,
},
2026-05-23 12:30:06 +08:00
},
},
})