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

2021年2月起cors-anywhere停止了公开代理服务 #73

Open
suxiaog opened this issue Feb 10, 2021 · 1 comment
Open

2021年2月起cors-anywhere停止了公开代理服务 #73

suxiaog opened this issue Feb 10, 2021 · 1 comment

Comments

@suxiaog
Copy link

suxiaog commented Feb 10, 2021

❓问题

🤔结果 & 预期

yilia-plus集成gitment,一切都配置妥当后,发布到github,实测gitment无法登录,一直在加载中...
查看控制台后出现2条错误:

  1. https://cors-anywhere.herokuapp.com/corsdemo 错误码403 forbidden
  2. https://api.github.com/users 错误码401
    经核实,是由于cors-anywhere服务器站点被限制的缘故,参加如下官方说明:
    https://github.com/Rob--W/cors-anywhere/issues/301

最后通过如下地址申请了访问corsdemo服务器的临时许可,到这里就可以正式使用了。
https://cors-anywhere.herokuapp.com/corsdemo
最终效果参见基于yilia-plus的博客https://suxiaog.github.io

期待思伟可以优化下!

🐥环境 & 设置

Node.js & npm version

Node -v:v14.15.4;npm -v:6.14.10

Your site _config.yml (Optional)

Your theme _config.yml (Optional)

Your browsers (Optional)

chrome v88.0.4324.150;360安全浏览器12

Your OSes (Optional)

Win10

🙋Others

@left0ver
Copy link

我也这样
不知道gitteement可不可以

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