Browse Source

更改服务器

preview
jiangyy 4 years ago
parent
commit
1210f4e6ea
  1. 2
      epmet-oper-web/.env.development
  2. 2
      epmet-oper-web/.env.production.sit
  3. 2
      epmet-oper-web/.vscode/settings.json
  4. 6
      epmet-oper-web/public/index.html

2
epmet-oper-web/.env.development

@ -1,5 +1,5 @@
NODE_ENV=development NODE_ENV=development
VUE_APP_API_SERVER = http://192.168.1.130:8080/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 = http://192.168.51.36:8080/api
# VUE_APP_API_SERVER = https://epmet-dev.elinkservice.cn/api # VUE_APP_API_SERVER = https://epmet-dev.elinkservice.cn/api
VUE_APP_NODE_ENV=dev VUE_APP_NODE_ENV=dev

2
epmet-oper-web/.env.production.sit

@ -1,3 +1,3 @@
NODE_ENV=production NODE_ENV=production
VUE_APP_API_SERVER = http://192.168.1.130:8080/api VUE_APP_API_SERVER = http://192.168.1.140/api
VUE_APP_NODE_ENV=prod:sit VUE_APP_NODE_ENV=prod:sit

2
epmet-oper-web/.vscode/settings.json

@ -1,6 +1,6 @@
{ {
"workbench.colorTheme": "One Monokai", "workbench.colorTheme": "One Monokai",
"window.zoomLevel": 1, "window.zoomLevel": 3,
"terminal.integrated.fontWeightBold": "normal", "terminal.integrated.fontWeightBold": "normal",
"workbench.iconTheme": "material-icon-theme", "workbench.iconTheme": "material-icon-theme",
// vscodetabsize // vscodetabsize

6
epmet-oper-web/public/index.html

@ -35,11 +35,11 @@
<% if (process.env.VUE_APP_NODE_ENV === 'dev') { %> <% if (process.env.VUE_APP_NODE_ENV === 'dev') { %>
<!-- <script>window.SITE_CONFIG['apiURL'] = 'http://10.10.10.98:8080/api';</script> --> <!-- <script>window.SITE_CONFIG['apiURL'] = 'http://10.10.10.98:8080/api';</script> -->
<!-- <script> <!-- <script>
window.SITE_CONFIG['apiURL'] = 'http://192.168.1.130:8080/api' window.SITE_CONFIG['apiURL'] = 'http://192.168.1.140/api'
</script> --> </script> -->
<!-- <script>window.SITE_CONFIG['apiURL'] = 'http://localhost:8080/api';</script> --> <!-- <script>window.SITE_CONFIG['apiURL'] = 'http://localhost:8080/api';</script> -->
<script> <script>
window.SITE_CONFIG['apiURL'] = 'http://192.168.1.130:8080/api' window.SITE_CONFIG['apiURL'] = 'http://192.168.1.140/api'
// window.SITE_CONFIG['apiURL'] = 'https://epmet-dev.elinkservice.cn/api' // window.SITE_CONFIG['apiURL'] = 'https://epmet-dev.elinkservice.cn/api'
</script> </script>
<% } %> <% } %>
@ -49,7 +49,7 @@
// window.SITE_CONFIG['apiURL'] = // window.SITE_CONFIG['apiURL'] =
// 'http://epmet-dev.elinkservice.cn:48080/api' // 'http://epmet-dev.elinkservice.cn:48080/api'
window.SITE_CONFIG['apiURL'] = 'http://192.168.1.130:8080/api' window.SITE_CONFIG['apiURL'] = 'http://192.168.1.140:8080/api'
</script> </script>
<% } %> <% } %>
<!-- 验收测试环境 aliyun --> <!-- 验收测试环境 aliyun -->

Loading…
Cancel
Save