瀏覽代碼

优化

wulanhaote
庞东旭 2 年之前
父節點
當前提交
56f4c1eeef
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      config/index.js

+ 2
- 2
config/index.js 查看文件

@@ -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…
取消
儲存