TT-004: complete modular frontend integration
This commit is contained in:
@@ -7,11 +7,11 @@ export default defineConfig({
|
||||
port: 5174,
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: 'http://localhost:8000',
|
||||
target: 'http://localhost:8001',
|
||||
changeOrigin: true,
|
||||
},
|
||||
'/platform-api': {
|
||||
target: 'http://localhost:8001',
|
||||
target: 'http://localhost:8000',
|
||||
changeOrigin: true,
|
||||
rewrite: (path) => path.replace(/^\/platform-api/, '/api'),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user