lsc 1 년 전
부모
커밋
334c97be0b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/common/axios.config.js

+ 1 - 1
src/common/axios.config.js

@@ -17,7 +17,7 @@ axios.interceptors.request.use((config) => {
     }
     if (config.url === 'https://gpt.cocorobo.cn/chat' || config.url === 'https://gpt4.cocorobo.cn/imageAnalyse' || config.url === 'https://gpt4.cocorobo.cn/create_free_assistants' || config.url === 'https://gpt4.cocorobo.cn/assistants_completion_response') {
         config.data = config.data //序列化post 参数
-    }else if(config.url.indexOf('https://gpt4.cocorobo.cn/')!=-1){
+    }else if(config.url.indexOf('https://gpt4.cocorobo.cn/')!=-1 || config.url.indexOf('https://claude3.cocorobo.cn/')!=-1){
 			config.headers = {
 				'Content-Type': 'application/json',
 		}