在请求拦截器中添加ccrb.s3.cn-northwest-1.amazonaws.com.cn到不需要携带凭证的域名列表
@@ -16,7 +16,7 @@ instance.interceptors.request.use(
// 确保每个请求都带上cookie
config.withCredentials = true
- if (url.includes('https://gpt4.cocorobo.cn') || url.includes('https://appapi.cocorobo.cn')) {
+ if (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
}
@@ -1532,7 +1532,7 @@ const processIframeLinks = async () => {
console.log(`处理幻灯片 ${slideIndex + 1} 中的iframe链接:`, iframeSrc)
return {
...element,
- isHTML: true,
+ isHTML: true,
url: html