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

easy-mock服务器挂了导致项目请求失败,登陆界面弹出“Network error”,请问大神该怎么解决 #1575

Closed
zhangxiongfeng opened this issue Jan 31, 2019 · 2 comments

Comments

@zhangxiongfeng
Copy link

早上过来的时候突然登陆不上去,登陆界面弹出“Network error”弹窗,浏览器报错
reliao_img_1548904372608

后面问了一下easy-mock的同事,是他们服务器那边的问题
image

请问如果是这种情况怎样才能绕过他们的mock

大神求救

@kaisawind
Copy link
Contributor

看起来是easy-mock 服务不支持跨域

  1. 让easy-mock支持跨域
  2. 前端设置跨域代理
    image

@PanJiaChen
Copy link
Owner

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