diff --git a/epmet-oper-web/.env.development b/epmet-oper-web/.env.development index 3e21b00..2fc0402 100644 --- a/epmet-oper-web/.env.development +++ b/epmet-oper-web/.env.development @@ -1,4 +1,5 @@ NODE_ENV=development +# VUE_APP_API_SERVER = http://118.190.150.119:41080/api VUE_APP_API_SERVER = http://192.168.1.140/api # VUE_APP_API_SERVER = http://192.168.51.36:8080/api # VUE_APP_API_SERVER = https://epmet-dev.elinkservice.cn/api diff --git a/epmet-oper-web/.env.production.sit b/epmet-oper-web/.env.production.sit index da9a4a8..e5b235f 100644 --- a/epmet-oper-web/.env.production.sit +++ b/epmet-oper-web/.env.production.sit @@ -1,3 +1,4 @@ NODE_ENV=production +# VUE_APP_API_SERVER = http://118.190.150.119:41080/api VUE_APP_API_SERVER = http://192.168.1.140/api VUE_APP_NODE_ENV=prod:sit \ No newline at end of file diff --git a/epmet-oper-web/public/index.html b/epmet-oper-web/public/index.html index 105e687..5a6631f 100644 --- a/epmet-oper-web/public/index.html +++ b/epmet-oper-web/public/index.html @@ -33,13 +33,9 @@ <% if (process.env.VUE_APP_NODE_ENV==='dev' ) { %> - - - <% } %> @@ -49,6 +45,7 @@ // window.SITE_CONFIG['apiURL'] = // 'http://epmet-dev.elinkservice.cn:48080/api' + // window.SITE_CONFIG['apiURL'] = 'http://118.190.150.119:41080/api' window.SITE_CONFIG['apiURL'] = 'http://192.168.1.140/api' <% } %>