Browse Source

优化

wulanhaote
庞东旭 2 years ago
parent
commit
56f4c1eeef
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      config/index.js

+ 2
- 2
config/index.js View File

@@ -12,8 +12,8 @@ module.exports = {
proxyTable: {
"/api": {
// 请求的目标主机
target: 'http://116.255.223.226:8081/nsgk_test/',
// target: 'http://localhost:8080/',
//target: 'http://116.255.223.226:8081/nsgk_test/',
target: 'http://localhost:8080/',
changeOrigin: true,
pathRewrite: {
'^/api': ''


Loading…
Cancel
Save