|
@@ -15,7 +15,8 @@ export default defineConfig({
|
|
|
proxy: {
|
|
proxy: {
|
|
|
// 使用 /dev-api 前缀,与 RobotSpineWeb 保持一致
|
|
// 使用 /dev-api 前缀,与 RobotSpineWeb 保持一致
|
|
|
'/dev-api': {
|
|
'/dev-api': {
|
|
|
- target: 'http://192.168.0.30:8080',
|
|
|
|
|
|
|
+ //target: 'http://192.168.0.30:8080',
|
|
|
|
|
+ target: 'http://localhost:8080',
|
|
|
changeOrigin: true,
|
|
changeOrigin: true,
|
|
|
rewrite: (path) => path.replace(/^\/dev-api/, '')
|
|
rewrite: (path) => path.replace(/^\/dev-api/, '')
|
|
|
}
|
|
}
|