qgt 1 周之前
父節點
當前提交
a51cb8b192

+ 1 - 1
dist/index.html

@@ -27,7 +27,7 @@
     html,
     body{
       font-family: '黑体';
-    }</style><link href=./static/css/app.befe4f1ca0b69962b53f4d6cd8d00070.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.becc9317549795ada446.js></script><script type=text/javascript src=./static/js/app.0b42c23f332bd041df59.js></script></body></html><script>function stopSafari() {
+    }</style><link href=./static/css/app.befe4f1ca0b69962b53f4d6cd8d00070.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.becc9317549795ada446.js></script><script type=text/javascript src=./static/js/app.127921a78d3afd2df4bd.js></script></body></html><script>function stopSafari() {
     //阻止safari浏览器双击放大功能
     let lastTouchEnd = 0  //更新手指弹起的时间
     document.documentElement.addEventListener("touchstart", function (event) {

File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.127921a78d3afd2df4bd.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.127921a78d3afd2df4bd.js.map


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/manifest.3ad1d5771e9b13dbdad2.js.map


+ 5 - 0
src/common/axios.config.js

@@ -21,14 +21,19 @@ 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.url.includes('/szdjg/')) {
         config.data = config.data //序列化post 参数
+				config.withCredentials = false;
     }else if(config.url.indexOf('https://gpt4.cocorobo.cn/')!=-1 || config.url.indexOf('https://claude3.cocorobo.cn/')!=-1 || config.url.indexOf('https://appapi.cocorobo.cn/')!=-1){
 			config.headers = {
 				'Content-Type': 'application/json',
 		}
+		config.withCredentials = false;
+
 	 }else if(config.url.indexOf('https://gpt.cocorobo.cn/')!=-1){
         config.headers = {
             'Content-Type': 'application/json',
     }
+		config.withCredentials = false;
+
  } else if (config.data && config.data[0].post == '1' && config.method === 'post') {
         config.data = 'mode=' + (Object.values(config.data[0]).join(',')) //序列化post 参数
     } else if (config.method === 'post') {

Some files were not shown because too many files changed in this diff