diff --git a/public/js/play.js b/public/js/play.js index e755ae1..27be1ec 100644 --- a/public/js/play.js +++ b/public/js/play.js @@ -3,7 +3,7 @@ document.addEventListener("DOMContentLoaded", function () { const urlParams = new URLSearchParams(window.location.search); const gameUrl = urlParams.get("game"); - + const serverUrl1 = "https://assets-taupe.vercel.app"; fetch("/games.json") .then((response) => response.json()) .then((data) => { @@ -12,9 +12,7 @@ document.addEventListener("DOMContentLoaded", function () { document.title = `${gameData.name} | Nativegames`; document.getElementById("gamename").innerText = gameData.name; document.getElementById("favicon").href = gameData.image; - document.getElementById( - "gameIframe" - ).src = `https://assets-taupe.vercel.app/${gameUrl}/`; + document.getElementById("gameIframe").src = `/${serverUrl1}/${gameUrl}/`; }) .catch((error) => console.error("Error fetching game data:", error)); }); diff --git a/public/js/randomtext.js b/public/js/randomtext.js index 81bd2eb..fa66bd5 100644 --- a/public/js/randomtext.js +++ b/public/js/randomtext.js @@ -35,6 +35,13 @@ var textOptions = [ "we love minoa.cat", "better than interstellar", "NodeJS on top!", + "Aiden Has a foot fetish", + "Or what!", + "Geeeeeeeeeeeeeetar!!!!!!", + "Powerade Sucks!", + "Do not insert text here", + "Doge Loves Metallica", + "Oh yeah or whatever", ]; // Function to generate random index