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

访问子应用跨域错误 #38

Closed
tony-chooper opened this issue Aug 8, 2022 · 3 comments
Closed

访问子应用跨域错误 #38

tony-chooper opened this issue Aug 8, 2022 · 3 comments

Comments

@tony-chooper
Copy link

我的子应用接口通过配置nginx已经支持跨域访问,但是通过主应用访问还是提示跨域错误。单独访问子应用正常

@yiludege
Copy link
Collaborator

yiludege commented Aug 8, 2022

接口的地址是否正确呢,正确的话和框架就无关了,可以自行排查一下。

(另框架提供自定义fetch,子应用的静态资源和fetch api请求都会走这个自定义fetch,可以试试?)

@yiludege yiludege closed this as completed Aug 8, 2022
@skyLoveSnap
Copy link

怎么解决的?

@LeonIsACoder
Copy link

应用

我遇到和你相同的问题,请问你解决了吗

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

4 participants