update system settings
This commit is contained in:
@@ -36,7 +36,16 @@ module.exports = defineConfig({
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
'/upload': {
|
||||
//后端接口的baseurl
|
||||
target: 'http://localhost:8080',
|
||||
//是否允许跨域
|
||||
changeOrigin: true,
|
||||
pathRewrite: {
|
||||
//这里的作用是使用去掉api
|
||||
'^/upload': ''
|
||||
}
|
||||
},
|
||||
|
||||
'/dev': {
|
||||
//后端接口的baseurl
|
||||
|
Reference in New Issue
Block a user