Kaynağa Gözat

Merge branch 'beta'

lsc 1 hafta önce
ebeveyn
işleme
dc70f0cb7c
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      src/services/config.ts

+ 1 - 1
src/services/config.ts

@@ -17,7 +17,7 @@ instance.interceptors.request.use(
     // 确保每个请求都带上cookie
     // 确保每个请求都带上cookie
     config.withCredentials = true
     config.withCredentials = true
 
 
-    if (url.includes('https://gpt4.cocorobo.cn') || url.includes('https://appapi.cocorobo.cn') || url.includes('https://ccrb.s3.cn-northwest-1.amazonaws.com.cn')) {
+    if (url.includes('https://yjsredis.cocorobo.cn/') || url.includes('https://gpt4.cocorobo.cn') || url.includes('https://appapi.cocorobo.cn') || url.includes('https://ccrb.s3.cn-northwest-1.amazonaws.com.cn')) {
       config.withCredentials = false 
       config.withCredentials = false 
     }
     }