Update index.html
added new domand that can be used
This commit is contained in:
+3
-1
@@ -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));
|
||||||
|
|||||||
Reference in New Issue
Block a user