修改配置文件
This commit is contained in:
parent
16da7a50d4
commit
fcdcd9c804
|
@ -14,4 +14,5 @@ port= 9988
|
||||||
//target = http://192.168.18.134:8899
|
//target = http://192.168.18.134:8899
|
||||||
//target = http://192.168.18.139:8899
|
//target = http://192.168.18.139:8899
|
||||||
// target = http://192.168.18.136:8899
|
// target = http://192.168.18.136:8899
|
||||||
target = http://192.168.10.241:30646
|
//target = http://192.168.10.241:30646
|
||||||
|
target = http://192.168.18.140:8899
|
||||||
|
|
|
@ -12,7 +12,7 @@ let iotWebSocketAlarmBaseUrl = ''
|
||||||
let BaseUrl = ''
|
let BaseUrl = ''
|
||||||
|
|
||||||
// 手动配置的地址
|
// 手动配置的地址
|
||||||
var iotHost="192.168.10.241:30646"; // 海创iot 平台 host
|
var iotHost="192.168.10.241:32024"; // 海创iot 平台 host
|
||||||
// var hrefHost = window.location.host;
|
// var hrefHost = window.location.host;
|
||||||
// let httpProtocol = window.location.protocol;
|
// let httpProtocol = window.location.protocol;
|
||||||
var hrefHost = '192.168.18.139';
|
var hrefHost = '192.168.18.139';
|
||||||
|
|
|
@ -27,22 +27,22 @@ module.exports = {
|
||||||
// 如果你不需要生产环境的 source map,可以将其设置为 false 以加速生产环境构建。
|
// 如果你不需要生产环境的 source map,可以将其设置为 false 以加速生产环境构建。
|
||||||
productionSourceMap: false,
|
productionSourceMap: false,
|
||||||
// webpack-dev-server 相关配置
|
// webpack-dev-server 相关配置
|
||||||
devServer: {
|
// devServer: {
|
||||||
host: '0.0.0.0',
|
// host: '0.0.0.0',
|
||||||
port: port,
|
// port: port,
|
||||||
open: true,
|
// open: true,
|
||||||
proxy: {
|
// proxy: {
|
||||||
// detail: https://cli.vuejs.org/config/#devserver-proxy
|
// // detail: https://cli.vuejs.org/config/#devserver-proxy
|
||||||
[process.env.VUE_APP_BASE_API]: {
|
// [process.env.VUE_APP_BASE_API]: {
|
||||||
target: process.env.target,
|
// target: process.env.target,
|
||||||
changeOrigin: true,
|
// changeOrigin: true,
|
||||||
pathRewrite: {
|
// pathRewrite: {
|
||||||
['^' + process.env.VUE_APP_BASE_API]: ''
|
// ['^' + process.env.VUE_APP_BASE_API]: ''
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
},
|
// },
|
||||||
disableHostCheck: true
|
// disableHostCheck: true
|
||||||
},
|
// },
|
||||||
configureWebpack: {
|
configureWebpack: {
|
||||||
externals: {
|
externals: {
|
||||||
AMap: 'AMap'
|
AMap: 'AMap'
|
||||||
|
|
Loading…
Reference in New Issue