yidadaa / issue-blog Goto Github PK
View Code? Open in Web Editor NEWIssue is Blog, a serverless blog platform based on Github Issues.
Home Page: https://blog.simplenaive.cn
Issue is Blog, a serverless blog platform based on Github Issues.
Home Page: https://blog.simplenaive.cn
Yidadaa 应该不是bug吧 因为我找不到修改的地方. 或者是是自动github用户名吗?
服务器搭建太麻烦了,今天用了一天的时间从早上9点找到刚才发现了 "Issue-Blog"感觉非常不错,评论啊,url,界面,太贴心了,我今天测试了github上面提供Issue做博客的程序20个,好多坑啊!!终于找到想要的了!再次感谢!!!
ios12.1.4,safari
看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次根本不够用
还是不行 望解决
这个报错非常奇怪,最后发现是因为调用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 })
})
}
就没有问题了。
没看到使用指南里有写。。不过自己研究了一下发现给issue加milestone就可以了。
再次给这个模板点赞!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.