gis-bi/core/core-frontend/config/dev.ts

19 lines
401 B
Java
Raw Normal View History

2025-02-27 14:44:08 +08:00
export default {
server: {
proxy: {
'/api/f': {
2025-03-13 18:40:31 +08:00
target: 'http://192.168.1.16:8100',
2025-02-27 14:44:08 +08:00
changeOrigin: true,
rewrite: path => path.replace(/^\/api\/f/, '')
},
// 使用 proxy 实例
'/api': {
2025-03-13 18:40:31 +08:00
target: 'http://192.168.1.16:8100',
2025-02-27 14:44:08 +08:00
changeOrigin: true,
2025-03-12 09:15:30 +08:00
rewrite: path => path.replace(/^\/api/, '')
2025-02-27 14:44:08 +08:00
}
},
port: 8080
}
}