xqdoo00o / chatgpt-web

Pure Javascript ChatGPT demo based on OpenAI API
https://xqdoo00o.github.io/chatgpt-web/
MIT License
963 stars 364 forks source link

引用文件cdn出现问题 #130

Closed tomatocuke closed 5 months ago

tomatocuke commented 6 months ago

我本地今天引用的 https://cdn.staticfile.org 前缀的文件都跨域禁止了,文件是在的。

提示has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header has a value 'https://xxx.xxx' that is not equal to the supplied origin.

有意思,报错的 header has a value https://xxx.xxx 这个各种各样,我进去看好像都是用的你这个项目的,但都进不去了。

我都换成 https://cdnjs.cloudflare.com/ajax/libs 了。

xqdoo00o commented 6 months ago

参考https://github.com/staticfile/static/issues/662 应该是staticfile的bug

tomatocuke commented 6 months ago

哈哈,看了。可真逗,还没修复