Skip to content

Commit

Permalink
- 修改:去掉端口号
Browse files Browse the repository at this point in the history
  • Loading branch information
sin-ning committed Apr 14, 2020
1 parent 099d2b4 commit 4adb5ef
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions admin-web/config/proxy/proxy.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,32 @@

module.exports = {
'/admin-api/': {
target: 'http://api.shop.iocoder.cn:18099',
target: 'http://api.shop.iocoder.cn',
changeOrigin: true,
pathRewrite: {},
},
'/product-api/': {
target: 'http://api.shop.iocoder.cn:18099',
target: 'http://api.shop.iocoder.cn',
changeOrigin: true,
pathRewrite: {},
},
'/order-api/': {
target: 'http://api.shop.iocoder.cn:18099',
target: 'http://api.shop.iocoder.cn',
changeOrigin: true,
pathRewrite: {},
},
'/promotion-api/': {
target: 'http://api.shop.iocoder.cn:18099',
target: 'http://api.shop.iocoder.cn',
changeOrigin: true,
pathRewrite: {},
},
'/pay-api/': {
target: 'http://api.shop.iocoder.cn:18099',
target: 'http://api.shop.iocoder.cn',
changeOrigin: true,
pathRewrite: {},
},
'/user-api/': {
target: 'http://api.shop.iocoder.cn:18099',
target: 'http://api.shop.iocoder.cn',
changeOrigin: true,
pathRewrite: {},
},
Expand Down
2 changes: 1 addition & 1 deletion admin-web/config/server/config/proxy.prod.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

module.exports = {
'/admin-api/': {
target: 'http://api.shop.iocoder.cn:18099',
target: 'http://api.shop.iocoder.cn',
changeOrigin: true,
pathRewrite: {},
},
Expand Down

0 comments on commit 4adb5ef

Please sign in to comment.