【修改】修改图片地址

This commit is contained in:
zhoulingpo
2023-05-19 15:54:10 +08:00
parent d8319601ea
commit d4735589ef
3 changed files with 5 additions and 4 deletions
+4 -2
View File
@@ -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
}