|
@@ -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 = 'https://test.dayaedu.com' //测试环境
|
|
|
+// let target = 'http://dev.dayaedu.com' // 开发环境
|
|
|
+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/
|
|
|
module.exports = {
|
|
@@ -55,7 +55,7 @@ module.exports = {
|
|
|
// warnings: false,
|
|
|
// errors: true
|
|
|
// },
|
|
|
- https: false,
|
|
|
+ https: true,
|
|
|
proxy: {
|
|
|
// change xxx-api/login => mock/login
|
|
|
// detail: https://cli.vuejs.org/config/#devserver-proxy
|
|
@@ -66,7 +66,6 @@ module.exports = {
|
|
|
// let target = 'http://dev.dayaedu.com'
|
|
|
// 'http://dev.dayaedu.com'
|
|
|
'/api-auth': {
|
|
|
- target: 'http://dev.dayaedu.com',
|
|
|
// target: 'https://test.dayaedu.com',
|
|
|
target : target,
|
|
|
changeOrigin: true,
|