修改
This commit is contained in:
@@ -10,8 +10,10 @@ export default defineConfig({
|
||||
host: true,
|
||||
proxy: {
|
||||
// 开发期把 /api 转发到 vermis-maker 后端(8080),并去掉 /api 前缀
|
||||
// 192.168.0.206
|
||||
// 192.168.0.175
|
||||
'/api': {
|
||||
target: 'http://192.168.0.43:8080',
|
||||
target: 'http://192.168.0.206:8080',
|
||||
changeOrigin: true,
|
||||
rewrite: (path) => path.replace(/^\/api/, ''),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user