Update index.html

added new domand that can be used
This commit is contained in:
miles
2026-03-10 16:20:38 +00:00
parent 3446386ec9
commit 96d12300ee
+3 -1
View File
@@ -5,7 +5,9 @@
(function() { (function() {
const allowedDomains = [ const allowedDomains = [
"give-this-a-new-name.onrender.com/", "give-this-a-new-name.onrender.com/",
"give-this-a-new-name.onrender.com/index.html" "give-this-a-new-name.onrender.com/index.html",
"milesgd.gamer.gd",
"milesgd.gamer.gd/index.html"
]; ];
const loc = window.location.hostname + window.location.pathname; const loc = window.location.hostname + window.location.pathname;
const isAllowed = allowedDomains.some(urlPart => loc.endsWith(urlPart)); const isAllowed = allowedDomains.some(urlPart => loc.endsWith(urlPart));