Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] 更新代码到 2aebc6c 节点后,除了新加的 tag 接口,其他都报跨域请求的错误 #207

Closed
IAn2018cs opened this issue Jul 10, 2024 · 3 comments · Fixed by #208
Labels
bug Something isn't working

Comments

@IAn2018cs
Copy link

image image
@IAn2018cs IAn2018cs changed the title [Bug] 更新代码到 2aebc6c6 节点后,除了新加的 tag 接口,其他都报跨域请求的错误 [Bug] 更新代码到 2aebc6c 节点后,除了新加的 tag 接口,其他都报跨域请求的错误 Jul 10, 2024
@OXeu OXeu added the bug Something isn't working label Jul 10, 2024
@OXeu
Copy link
Collaborator

OXeu commented Jul 10, 2024

简单排查了下不像是代码变更导致的问题,更像是某个依赖项或者 Cloudflare 的变更导致的,目前还没有找到原因

@OXeu
Copy link
Collaborator

OXeu commented Jul 10, 2024

应该是某些依赖版本更新导致的,现在加入了依赖版本锁定暂时修复了这个问题,具体有问题的依赖版本后续排查

@OXeu
Copy link
Collaborator

OXeu commented Jul 10, 2024

目前已经确定是由于 @elysiajs/cors 由 1.0.2 更新到 1.0.4 导致的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants