Skip to content

Commit

Permalink
fix flash..?
Browse files Browse the repository at this point in the history
  • Loading branch information
orn8 committed Jun 26, 2024
1 parent c86ae37 commit b5b58e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gameX.html
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
const content = document.getElementById('content');
content.innerHTML = '';
content.appendChild(player);
const encodedUrl = encodeURIComponent(gameUrl);
const encodedUrl = gameUrl.split(' ').join('%20');
const corsUrl = `https://cors-anywhere-oragne.vercel.app/api/cors?url=${encodedUrl}`;
player.load(corsUrl);
showPopup();
Expand Down

0 comments on commit b5b58e6

Please sign in to comment.