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
如果你遇到了浏览器尝试请求遭到了 CORS 错误 请尝试在您的Nginx后端站点配置文件中加入
location / { add_header 'Access-Control-Allow-Origin' 'https://appeal.potpvp.cc'; add_header 'Access-Control-Allow-Methods' 'POST, OPTIONS'; add_header 'Access-Control-Allow-Headers' 'Content-Type'; add_header 'Access-Control-Allow-Credentials' 'true'; if ($request_method = 'OPTIONS') { return 204; } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
注意: 建议前后端使用ssl进行通信!(当然你不用也行 密码明文传输喽~)
如果你遇到了浏览器尝试请求遭到了 CORS 错误
请尝试在您的Nginx后端站点配置文件中加入
The text was updated successfully, but these errors were encountered: