We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32a42a3 commit 4364216Copy full SHA for 4364216
git/gitauth.js
@@ -142,7 +142,7 @@ window.onload = async () => {
142
async function getGithubToken(gitCode) {
143
144
// post through CORS proxy to git with clientId, clientSecret and code
145
- const resp = await axios.post('https://scepter-cors2.herokuapp.com/' +
+ const resp = await axios.post(window.location.origin + '/api/cors?url=' +
146
'https://github.com/login/oauth/access_token?' +
147
'client_id=7ede3eed3185e59c042d' +
148
'&client_secret=c1934d5aab1c957800ea8e84ce6a24dda6d68f45' +
0 commit comments