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): proxy throw error 403 #8828

Merged
merged 2 commits into from
Aug 3, 2022
Merged

fix(server): proxy throw error 403 #8828

merged 2 commits into from
Aug 3, 2022

Conversation

citrusjunoss
Copy link
Contributor

一种场景是服务端设置了cors允许固定域名跨域后,本地没有通过修改host模拟域名,而是使用proxy解决跨域,配置成功后后仍然报403错误。

解决方案参考CRA项目下issue
#5441

@sorrycc sorrycc merged commit 8cdb9bc into umijs:3.x Aug 3, 2022
@sorrycc
Copy link
Member

sorrycc commented Aug 3, 2022

有兴趣的话,给 umi 4 也提一个,

@citrusjunoss
Copy link
Contributor Author

有兴趣的话,给 umi 4 也提一个,


好的,等下我同步一下

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

3 participants