fix: add auth proxy route to Core API

- Added /api/v1/auth proxy route to port 3002
- Fixes 500 error on login endpoint
This commit is contained in:
2026-10-31 04:36:23 +08:00
parent a26f1fe9f1
commit f530c1ae0f

View File

@@ -28,6 +28,10 @@ export default defineConfig({
'.ddns.net'
],
proxy: {
'/api/v1/auth': {
target: 'http://localhost:3002',
changeOrigin: true,
},
'/api/v1/trace-profile-file': {
target: 'http://localhost:3002',
changeOrigin: true,