Browse Source

端口号修改

jbb 2 years ago
parent
commit
e95b48e5cf
2 changed files with 4 additions and 3 deletions
  1. 2 2
      .env.development
  2. 2 1
      public/index.html

+ 2 - 2
.env.development

@@ -1,6 +1,6 @@
 NODE_ENV=development
-VUE_APP_API_BASE_URL=http://220.191.168.86:18003/jeecg-boot
-VUE_APP_CAS_BASE_URL=http://220.191.168.86:18005/cas
+VUE_APP_API_BASE_URL=http://www.myfitt.cn:18003/jeecg-boot
+VUE_APP_CAS_BASE_URL=http://www.myfitt.cn:18005/cas
 VUE_APP_ONLINE_BASE_URL=http://fileview.jeecg.com/onlinePreview
 
 # 微应用列表必须VUE_APP_SUB_开头,jeecg-app-1为子应用的项目名称,也是子应用的路由父路径

+ 2 - 1
public/index.html

@@ -251,7 +251,8 @@
     <!-- new 全局配置 -->
     <script>
       window._CONFIG = {}
-      window._CONFIG['domianURL'] = 'http://127.0.0.1:8090/jeecg-boot'
+      // window._CONFIG['domianURL'] = 'http://127.0.0.1:8090/jeecg-boot'
+      window._CONFIG['domianURL'] = 'http://www.myfitt.cn:8090/jeecg-boot'
       window._CONFIG['casPrefixUrl'] = 'http://cas.example.org:8443/cas'
       window._CONFIG['onlinePreviewDomainURL'] = 'http://fileview.jeecg.com/onlinePreview'
       window._CONFIG['staticDomainURL'] = window._CONFIG['domianURL'] + '/sys/common/static'