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
我将代理转发到了django后台, 配置如下
proxy: { target: "http://127.0.0.1:8000", changeOrigin: true }
post请求会将origin改为“http://127.0.0.1:8000/" origin多了个符号斜杠'/', 导致django的跨域判断host和origin不一致
正常的Origin应该是不带/的吧
The text was updated successfully, but these errors were encountered:
由于缺乏足够的信息,我们暂时关闭了该 Issue。请修改(不要回复) Issue 提供最小重现以重新开启。谢谢。
Sorry, something went wrong.
给最小复现看看。
我已经另开了issue #10692 提交了pr #10699
No branches or pull requests
What happens?
我将代理转发到了django后台, 配置如下
post请求会将origin改为“http://127.0.0.1:8000/"
origin多了个符号斜杠'/', 导致django的跨域判断host和origin不一致
正常的Origin应该是不带/的吧
The text was updated successfully, but these errors were encountered: