tag(功能):功能跑通

This commit is contained in:
OrangeRoll
2026-08-07 13:15:26 +08:00
parent 9e0387bf94
commit 3d1c6a6c76
19 changed files with 892 additions and 418 deletions
+12
View File
@@ -4,4 +4,16 @@ import react from '@vitejs/plugin-react'
// https://vite.dev/config/
export default defineConfig({
plugins: [react()],
server: {
proxy: {
'/api': {
target: process.env.VITE_API_PROXY_TARGET ?? 'http://localhost:8080',
changeOrigin: true,
},
'/health': {
target: process.env.VITE_API_PROXY_TARGET ?? 'http://localhost:8080',
changeOrigin: true,
},
},
},
})