Skip to content

Commit

Permalink
experimental fix for #35
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardfritz committed Nov 25, 2022
1 parent a3549c2 commit 0b04061
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/src/pages/Login.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,11 @@ export default function Login() {
if (searchParams.get('error')) {
setErrorMessage(searchParams.get('error_description'));
} else {
fetch('https://cors-anywhere.herokuapp.com/https://github.com/login/oauth/access_token', {
fetch('https://p8g.bernhardfritz.workers.dev/?https://github.com/login/oauth/access_token', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
Accept: 'application/json',
'X-Requested-With': 'XMLHttpRequest',
},
body: JSON.stringify({
client_id: '9adadcb2a0c067e95302',
Expand Down

0 comments on commit 0b04061

Please sign in to comment.