ソースを参照

修改权限

1
mo 4 年 前
コミット
945f7ef005
1 ファイル変更4 行追加4 行削除
  1. 4 4
      vue.config.js

+ 4 - 4
vue.config.js

@@ -20,8 +20,8 @@ const name = defaultSettings.title || '管乐迷后台管理系统' // page titl
 // let target = 'http://192.168.3.139:8000' // 箭河
 // let target = 'http://192.168.3.38:8000' //邹璇
 // let target = 'http://192.168.3.57:8000' //勇哥
-// let target = 'http://dev.dayaedu.com' // 测试服
-let target = 'http://47.114.176.40:8000' //开发环境
+let target = 'http://dev.dayaedu.com' // 测试服
+// let target = 'http://47.114.176.40:8000' //开发环境
 // let target = 'https://test.dayaedu.com' //开发环境
 // let target = 'http://192.168.3.134' // 乔
 // All configuration item explanations can be find in https://cli.vuejs.org/config/
@@ -65,8 +65,8 @@ module.exports = {
       // http://192.168.3.134
       // http://47.114.176.40:8000
       '/api-auth': {
-        // target: 'http://dev.dayaedu.com',
-        target: 'http://47.114.176.40:8000',
+        target: 'http://dev.dayaedu.com',
+        // target: 'http://47.114.176.40:8000',
         changeOrigin: true,
         pathRewrite: {
           '^api-auth': ''