Просмотр исходного кода

fix: LANGGRAPH_BASE_URL 改为 https://ai.etotem.com.cn(微信小程序强制 HTTPS)

Xiaogang Liao 2 месяцев назад
Родитель
Сommit
152484bc23
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      cfc-frontend/config.js

+ 3 - 3
cfc-frontend/config.js

@@ -28,17 +28,17 @@ try {
     switch (env) {
     switch (env) {
       case 'develop':
       case 'develop':
         API_BASE_URL = 'https://cfc.etotem.com.cn'
         API_BASE_URL = 'https://cfc.etotem.com.cn'
-        LANGGRAPH_BASE_URL = 'http://ai.etotem.com.cn'
+        LANGGRAPH_BASE_URL = 'https://ai.etotem.com.cn'
         DIFY_BASE_URL = 'http://dify.iwintrue.com'
         DIFY_BASE_URL = 'http://dify.iwintrue.com'
         break
         break
       case 'trial':
       case 'trial':
         API_BASE_URL = 'https://cfc.iwintrue.com'
         API_BASE_URL = 'https://cfc.iwintrue.com'
-        LANGGRAPH_BASE_URL = 'http://ai.etotem.com.cn'
+        LANGGRAPH_BASE_URL = 'https://ai.etotem.com.cn'
         DIFY_BASE_URL = 'http://dify.iwintrue.com'
         DIFY_BASE_URL = 'http://dify.iwintrue.com'
         break
         break
       case 'release':
       case 'release':
         API_BASE_URL = 'https://cfc.etotem.com.cn'
         API_BASE_URL = 'https://cfc.etotem.com.cn'
-        LANGGRAPH_BASE_URL = 'http://ai.etotem.com.cn'
+        LANGGRAPH_BASE_URL = 'https://ai.etotem.com.cn'
         DIFY_BASE_URL = 'http://dify.iwintrue.com'
         DIFY_BASE_URL = 'http://dify.iwintrue.com'
         break
         break
     }
     }