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

跨域问题 #185

Open
dongshihao666 opened this issue Dec 14, 2020 · 2 comments
Open

跨域问题 #185

dongshihao666 opened this issue Dec 14, 2020 · 2 comments

Comments

@dongshihao666
Copy link

接口明明不需要跨域,直接放在地址栏就能掉通, 为啥放在项目里就需要配置跨域呢

@weijie0
Copy link

weijie0 commented Dec 23, 2020

接口明明不需要跨域,直接放在地址栏就能掉通, 为啥放在项目里就需要配置跨域呢

因为跨端口访问了

@yyljwyy
Copy link

yyljwyy commented Sep 17, 2023

实际接口调用,也可能存在跨域问题。这样的情况下,设定为跨域保证了接口调用,避免了程序二次开发

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

No branches or pull requests

3 participants