|
@@ -55,7 +55,7 @@ module.exports = {
|
|
// warnings: false,
|
|
// warnings: false,
|
|
// errors: true
|
|
// errors: true
|
|
// },
|
|
// },
|
|
- https: false,
|
|
|
|
|
|
+ https: true,
|
|
proxy: {
|
|
proxy: {
|
|
// change xxx-api/login => mock/login
|
|
// change xxx-api/login => mock/login
|
|
// detail: https://cli.vuejs.org/config/#devserver-proxy
|
|
// detail: https://cli.vuejs.org/config/#devserver-proxy
|
|
@@ -66,9 +66,8 @@ module.exports = {
|
|
// let target = 'http://dev.dayaedu.com'
|
|
// let target = 'http://dev.dayaedu.com'
|
|
// 'http://dev.dayaedu.com'
|
|
// 'http://dev.dayaedu.com'
|
|
'/api-auth': {
|
|
'/api-auth': {
|
|
- target: target,
|
|
|
|
- // target: 'http://47.114.176.40:8000',
|
|
|
|
- // target : 'https://test.dayaedu.com',
|
|
|
|
|
|
+ // target: 'https://test.dayaedu.com',
|
|
|
|
+ target : target,
|
|
changeOrigin: true,
|
|
changeOrigin: true,
|
|
pathRewrite: {
|
|
pathRewrite: {
|
|
'^api-auth': ''
|
|
'^api-auth': ''
|