We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
claude似乎存在跨域问题,大陆可以解决一下吗
The text was updated successfully, but these errors were encountered:
// 部分代理工具,请求由浏览器发起,跨域请求时会先发送一个 preflight 进行检查,也就是 OPTIONS 请求 // 需要响应该请求,否则后续的 POST 会失败 const corsHeaders = { 'Access-Control-Allow-Origin': '*', 'Access-Control-Allow-Methods': 'OPTIONS', 'Access-Control-Allow-Headers': '*', }; if (request.method === 'OPTIONS') return new Response(null, { headers: corsHeaders });
由于帐号已被限制暂停,无法登陆和推送更新,你需要自己添加
Sorry, something went wrong.
https://github.com/lopinx/serverless-api-proxy/blob/2d5ec987fc21b3f7880f298281e2a167c8a17f9e/src/_worker.js#L66-#69
No branches or pull requests
claude似乎存在跨域问题,大陆可以解决一下吗
The text was updated successfully, but these errors were encountered: