|
@@ -283,10 +283,10 @@ module.exports = (function () {
|
|
|
let staticHost = 'http://127.0.0.1';
|
|
|
switch (argv.env.deploy) {
|
|
|
case 'test':
|
|
|
- staticHost = 'http://static.jishutao.com';
|
|
|
+ staticHost = 'http://static.kedexinxi.com';
|
|
|
break;
|
|
|
case 'prod':
|
|
|
- staticHost = 'http://s.jishutao.com';
|
|
|
+ staticHost = 'http://s.kedexinxi.com';
|
|
|
break;
|
|
|
default:
|
|
|
break;
|
|
@@ -314,7 +314,7 @@ module.exports = (function () {
|
|
|
plugins: plugins,
|
|
|
devServer: {
|
|
|
disableHostCheck: true,
|
|
|
- allowedHosts: ['aft.hnzhiming.com', 'afts.hnzhiming.com'],
|
|
|
+ allowedHosts: ['bm.kedexinxi.com'],
|
|
|
headers: {
|
|
|
"Access-Control-Allow-Origin": "*"
|
|
|
}
|