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:
@@ -28,6 +28,10 @@ export default defineConfig({
|
|||||||
'.ddns.net'
|
'.ddns.net'
|
||||||
],
|
],
|
||||||
proxy: {
|
proxy: {
|
||||||
|
'/api/v1/auth': {
|
||||||
|
target: 'http://localhost:3002',
|
||||||
|
changeOrigin: true,
|
||||||
|
},
|
||||||
'/api/v1/trace-profile-file': {
|
'/api/v1/trace-profile-file': {
|
||||||
target: 'http://localhost:3002',
|
target: 'http://localhost:3002',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user