Browse Source

:memo: 修改环境配置

Twelve615 1 year ago
parent
commit
6f9a3d358c

+ 1 - 1
jlsb-vue/.env.production

@@ -1,5 +1,5 @@
 NODE_ENV=production
-VUE_APP_API_BASE_URL=http://127.0.0.1:9999/burapi/
+VUE_APP_API_BASE_URL=http://admin.bruboses.com/burapi
 # VUE_APP_API_BASE_URL=http://127.0.0.1:9999/
 VUE_APP_CAS_BASE_URL=http://127.0.0.1:8888/cas
 VUE_APP_ONLINE_BASE_URL=http://fileview.jeecg.com/onlinePreview

+ 3 - 3
jlsb/jeecg-boot-module-system/src/main/resources/application-prod.yml

@@ -7,14 +7,14 @@ server:
     include-stacktrace: ALWAYS
     include-message: ALWAYS
   servlet:
-    context-path:
+    context-path: /burapi
   #    context-path: /jeecg-boot
   compression:
     enabled: true
     min-response-size: 1024
     mime-types: application/javascript,application/json,application/xml,text/html,text/xml,text/plain,text/css,image/*
   system:
-    host: http://www.bruboses.com
+    host: http://www.bruboses.com/burapi
 
 management:
   endpoints:
@@ -150,7 +150,7 @@ spring:
   #redis 配置
   redis:
     database: 0
-    host: 120.26.90.253
+    host: 127.0.0.1
     lettuce:
       pool:
         max-active: 8   #最大连接数据库连接数,设 -1 为没有限制