我正在尝试使用代码https://github.com/prose/prose制作网站 网站链接http://editor.jus.in应该是https://github.com/settings/applications/new上此应用的主页网址和授权回调网址?
在应用文档中,它说
1.重定向用户请求GitHub访问。
var code = window.location.href.match(/\?code=(.*)/)[1];
2.GitHub重定向回您的网站,包括下一步所需的临时代码。
你可以这样抓住它:
$.getJSON('http://localhost:9999/authenticate/'+code, function(data) {
console.log(data.token);
});
3.使用Gatekeeper实例请求实际令牌,Gatekeeper知道你的client_secret。
iqr(x, interpolation=('nearest' if len(x) % 4 == 2 else 'midpoint'))
我应该在哪里进行这些更改? 感谢。
答案 0 :(得分:0)
我需要在本地构建主分支