Added CORS workaround - temp test with herokuapp
This commit is contained in:
2
dist/bundle.js
vendored
2
dist/bundle.js
vendored
File diff suppressed because one or more lines are too long
@@ -12,7 +12,7 @@ module.exports = class Github {
|
||||
|
||||
getToken(getTokenRequest) {
|
||||
var token = '';
|
||||
let url = 'https://github.com/login/oauth/access_token';
|
||||
let url = 'https://cors-anywhere.herokuapp.com/https://github.com/login/oauth/access_token';
|
||||
fetch(url, {
|
||||
method: "POST",
|
||||
body: JSON.stringify(getTokenRequest)
|
||||
|
||||
Reference in New Issue
Block a user