|
@@ -515,7 +515,7 @@ module.exports = (function () {
|
|
}));
|
|
}));
|
|
}
|
|
}
|
|
|
|
|
|
- let staticHost = 'http://172.16.0.34:8080';
|
|
|
|
|
|
+ let staticHost = 'http://172.16.0.253:80';
|
|
switch (argv.env.deploy) {
|
|
switch (argv.env.deploy) {
|
|
case 'test':
|
|
case 'test':
|
|
staticHost = 'http://statics.jishutao.com';
|
|
staticHost = 'http://statics.jishutao.com';
|
|
@@ -547,8 +547,8 @@ module.exports = (function () {
|
|
plugins: plugins,
|
|
plugins: plugins,
|
|
devServer: {
|
|
devServer: {
|
|
disableHostCheck: true,
|
|
disableHostCheck: true,
|
|
- host: '172.16.0.34',
|
|
|
|
- port: 8080,
|
|
|
|
|
|
+ host: '172.16.0.253',
|
|
|
|
+ port: 80,
|
|
allowedHosts: ['192.168.0.222', '192.168.0.99', '192.168.0.20','192.168.0.17'],
|
|
allowedHosts: ['192.168.0.222', '192.168.0.99', '192.168.0.20','192.168.0.17'],
|
|
headers: {
|
|
headers: {
|
|
"Access-Control-Allow-Origin": "*"
|
|
"Access-Control-Allow-Origin": "*"
|