Skip to content

Commit

Permalink
Twitch auth: fix url?
Browse files Browse the repository at this point in the history
  • Loading branch information
vgf89 committed Jun 25, 2024
1 parent a3bc766 commit 44ba8c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion twitchauth/callback.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</body>

<script>
const overlayurl = new URL("http://raspberrypi:local:3000/chat/index.html", document.location);
const overlayurl = "http://raspberrypi:local:3000/chat/index.html";
document.location.hash.substring(1).split('&').forEach(function (x) {
var arr = x.split('=');
arr[1] && overlayurl.searchParams.append(arr[0].trim(), arr[1].trim());
Expand Down

0 comments on commit 44ba8c2

Please sign in to comment.