【修改】修改图片地址
This commit is contained in:
+4
-2
@@ -16,12 +16,14 @@ module.exports = {
|
||||
proxy: {
|
||||
// 配置跨域
|
||||
'/api': {
|
||||
target: 'http://localhost:7060', // 服务器
|
||||
//10.0.10.173
|
||||
//10.0.10.97
|
||||
target: 'http://10.0.10.173:7060', // 服务器
|
||||
changeOrigin: true
|
||||
},
|
||||
// 请求静态图片配置项
|
||||
'/api/home/pic': {
|
||||
target: 'http://10.94.1.164:7061', // 图片请求的nginx网址
|
||||
target: 'http://10.94.1.164:7060', // 图片请求的nginx网址
|
||||
changeOrigin: true
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user