test proxy - added headers
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
@@ -15,6 +15,10 @@ module.exports = class Github {
|
||||
let url = 'https://cors-anywhere.herokuapp.com/https://github.com/login/oauth/access_token';
|
||||
fetch(url, {
|
||||
method: "POST",
|
||||
headers: {
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Application": "application/json; charset=utf-8"
|
||||
},
|
||||
body: JSON.stringify(getTokenRequest)
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user