Giter Club home page Giter Club logo

issue-blog's People

Contributors

yidadaa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

issue-blog's Issues

非常感谢提供一套这么好的程序谢谢!

服务器搭建太麻烦了,今天用了一天的时间从早上9点找到刚才发现了 "Issue-Blog"感觉非常不错,评论啊,url,界面,太贴心了,我今天测试了github上面提供Issue做博客的程序20个,好多坑啊!!终于找到想要的了!再次感谢!!!

如何设置client

http://blog.simplenaive.cn/Issue-Blog/dist/build.js 里似乎

https://github.com/login/oauth/authorize?client_id="+a+"&client_secret="+s+"&redirect_uri={url}&scope=public_repo 可以设置

但是还有一个 https://api.github.com/repos/"+i+"/"+o+"/ 不知道该怎么设置

直接添加?client_id=似乎不行

毕竟一小时60次根本不够用


还是不行 望解决

access token配置后github api返回401 unauthorized

这个报错非常奇怪,最后发现是因为调用github api的请求中access_token中间连接符的问题导致的,但是我在postman中用access_token又是没有问题的。(后面试了试也会有几率有问题)
使用access_token会返回

{
  "message": "Bad credentials",
  "documentation_url": "https://developer.github.com/v3"
}

最后试了一下吧config.js中的

  scopeKeys.forEach(k => {
    urls[k].query({ access_token: authToken })
  })
}

改成了

  scopeKeys.forEach(k => {
    urls[k].query({ accesstoken: authToken })
  })
}

就没有问题了。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.