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

部署到nginx后发送接口请求成功,但是没有返回还是报跨域失败 #350

Closed
GeekSpring opened this issue Jun 14, 2017 · 1 comment

Comments

@GeekSpring
Copy link

将项目部署到nginx后,由于后台接口还未提供,暂时把本地的项目中的mock数据作为接口,请求是200,但是response没有数据,请大神指教?
image
image
image

@zuiidea
Copy link
Owner

zuiidea commented Jun 14, 2017

你在8001请求8007的接口,肯定跨域啊

具体怎么做参考#348

@zuiidea zuiidea closed this as completed Jun 14, 2017
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

2 participants