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

使用代理解决跨域问题 | 巫术师 #27

Open
screw-hand opened this issue Jul 21, 2021 · 0 comments
Open

使用代理解决跨域问题 | 巫术师 #27

screw-hand opened this issue Jul 21, 2021 · 0 comments

Comments

@screw-hand
Copy link
Owner

https://fifth-patient.github.io/post/cors-proxy/#more

前言如今主流开发模式前后端分离已是普遍的开发模式,相对于传统的前后端耦合,前后端各拥有自己的一套开发环境。开发完成后,又一起部署到是测试/线上环境。 因为后端的API服务并不部署在前端的开发环境上,所以在开发时,经常会遇到需要跨域的场景;即便是部署到测试/线上环境,也不一定是部署到同一台服务器(单体、集群式服务)。 内容:介绍跨域、同源策略的基本概念;收跨域影响的场景;常用的跨域方案、代理;反向代

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant