Added CORS workaround - temp test with herokuapp

This commit is contained in:
2018-07-23 02:33:00 +05:30
parent 6afe8b5426
commit 44e7e1b78a
2 changed files with 2 additions and 2 deletions

2
dist/bundle.js vendored

File diff suppressed because one or more lines are too long

View File

@@ -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)