fix: add missing proxy routes for Core API endpoints
- Added /api/v1/files, /api/v1/file/, /api/v1/jobs, /api/v1/bookmarks to port 3002 - Fixes 500 errors when MarkBase (port 8888) is not running - All Core API endpoints now correctly route to port 3002
This commit is contained in:
@@ -64,6 +64,22 @@ export default defineConfig({
|
||||
target: 'http://localhost:3002',
|
||||
changeOrigin: true,
|
||||
},
|
||||
'/api/v1/files': {
|
||||
target: 'http://localhost:3002',
|
||||
changeOrigin: true,
|
||||
},
|
||||
'/api/v1/file/': {
|
||||
target: 'http://localhost:3002',
|
||||
changeOrigin: true,
|
||||
},
|
||||
'/api/v1/jobs': {
|
||||
target: 'http://localhost:3002',
|
||||
changeOrigin: true,
|
||||
},
|
||||
'/api/v1/bookmarks': {
|
||||
target: 'http://localhost:3002',
|
||||
changeOrigin: true,
|
||||
},
|
||||
'/api/v1': {
|
||||
target: 'http://localhost:8888',
|
||||
changeOrigin: true,
|
||||
|
||||
Reference in New Issue
Block a user