Explorar el Código

'后台地址修改'

GaoYuPeng hace 2 años
padre
commit
7332594bb4
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      vue.config.js

+ 2 - 1
vue.config.js

@@ -35,7 +35,8 @@ module.exports = {
35 35
   devServer: {
36 36
     proxy: {  //配置跨域
37 37
       '/': { // 匹配访问路径中含有 '/api' 的路径
38
-        target: 'http://101.36.160.140:31005',// 测试地址、目标地址
38
+        // target: 'http://101.36.160.140:31005',// 测试地址、目标地址
39
+        target: 'http://101.36.160.210:31045',// 测试地址、目标地址
39 40
         changOrigin: true,  //允许跨域
40 41
         pathRewrite: { // 请求路径重写
41 42
           '^/': ''