Browse Source

-修改服务地址 提个错误的

feature
jianjun 4 years ago
parent
commit
736c35d4ac
  1. 2
      .env.production
  2. 2
      public/index.html

2
.env.production

@ -1,4 +1,4 @@
NODE_ENV=production
VUE_APP_API_SERVER = https://epmet-cloud.elinkservice.cn/api
VUE_APP_API_SERVER = https://epmet-cloud.elinkservice.cn/api22
VUE_APP_NODE_ENV=prod
VUE_APP_PUBLIC_PATH=epmet-oper

2
public/index.html

@ -64,7 +64,7 @@
<!-- 生产环境 -->
<% if (process.env.VUE_APP_NODE_ENV==='prod' ) { %>
<script>
window.SITE_CONFIG['apiURL'] = 'https://epmet-cloud.elinkservice.cn/api'
window.SITE_CONFIG['apiURL'] = 'https://epmet-cloud.elinkservice.cn/api22'
</script>
<% } %>
</head>

Loading…
Cancel
Save