Skip to content

Commit

Permalink
Update scratchAuthExt.html
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyGamer13 committed Sep 1, 2023
1 parent 5e8e2aa commit bfec708
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/scratchAuthExt.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

setTimeout(() => {
// scratch auth adds the private code weirdly so just account for it
const search = '?t=1' + location.search.replace(/?/gmi, '&');
const search = '?t=1' + location.search.replace(/\?/gmi, '&');
const searchParams = new URLSearchParams(search);
const privateCode = searchParams.get("privateCode");
const openerLocation = searchParams.get("openLocation");
Expand Down

0 comments on commit bfec708

Please sign in to comment.