Browse Source

端口改为8090

master
yangkun 1 year ago
parent
commit
12bcf3ab23
  1. 16
      public/index.html

16
public/index.html

@ -29,23 +29,23 @@
<!-- 开发环境 -->
<% if (process.env.VUE_APP_NODE_ENV === 'dev') { %>
<script>window.SITE_CONFIG['apiURL'] = 'http://47.93.219.55:18090';</script>
<!-- <script>window.SITE_CONFIG['apiURL'] = 'http://192.168.5.212:18090';</script> -->
<script>window.SITE_CONFIG['apiURL'] = 'http://47.93.219.55:8090';</script>
<!-- <script>window.SITE_CONFIG['apiURL'] = 'http://192.168.5.212:8090';</script> -->
<% } %>
<!-- 集成测试环境 -->
<% if (process.env.VUE_APP_NODE_ENV === 'prod:sit') { %>
<script>window.SITE_CONFIG['apiURL'] = 'http://47.93.219.55:18090';</script>
<!-- <script>window.SITE_CONFIG['apiURL'] = 'http://192.168.5.212:18090';</script> -->
<script>window.SITE_CONFIG['apiURL'] = 'http://47.93.219.55:8090';</script>
<!-- <script>window.SITE_CONFIG['apiURL'] = 'http://192.168.5.212:8090';</script> -->
<% } %>
<!-- 验收测试环境 -->
<% if (process.env.VUE_APP_NODE_ENV === 'prod:uat') { %>
<script>window.SITE_CONFIG['apiURL'] = 'http://47.93.219.55:18090';</script>
<!-- <script>window.SITE_CONFIG['apiURL'] = 'http://192.168.5.212:18090';</script> -->
<script>window.SITE_CONFIG['apiURL'] = 'http://47.93.219.55:8090';</script>
<!-- <script>window.SITE_CONFIG['apiURL'] = 'http://192.168.5.212:8090';</script> -->
<% } %>
<!-- 生产环境 -->
<% if (process.env.VUE_APP_NODE_ENV === 'prod') { %>
<script>window.SITE_CONFIG['apiURL'] = 'http://47.93.219.55:18090';</script>
<!-- <script>window.SITE_CONFIG['apiURL'] = 'http://192.168.5.212:18090';</script> -->
<script>window.SITE_CONFIG['apiURL'] = 'http://47.93.219.55:8090';</script>
<!-- <script>window.SITE_CONFIG['apiURL'] = 'http://192.168.5.212:8090';</script> -->
<% } %>
</head>
<body>

Loading…
Cancel
Save