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

fix(server): keep origin by default in proxy #9193

Merged
merged 1 commit into from Sep 1, 2022
Merged

Conversation

PeachScript
Copy link
Member

@PeachScript PeachScript commented Sep 1, 2022

回退 #8828 ,这个变更会导致部分走 origin 白名单、但白名单不包含自己的服务端接口跨域请求失败

cc @citrusjunoss 下个版本会去掉这个逻辑,可以通过你后面 PR 的 onProxyReq 针对项目自定义

@sorrycc sorrycc merged commit 4fdf478 into 3.x Sep 1, 2022
@delete-merged-branch delete-merged-branch bot deleted the hotfix/server-proxy-break branch September 1, 2022 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants