From 1e632f57fa53b7dff1e565b3505590366469659a Mon Sep 17 00:00:00 2001 From: Ave <112294121+Ave9858@users.noreply.github.com> Date: Sat, 21 Oct 2023 20:24:08 +0000 Subject: [PATCH] deprecate Github pages version --- js/msdl.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/js/msdl.js b/js/msdl.js index 31455e5..7143c60 100644 --- a/js/msdl.js +++ b/js/msdl.js @@ -273,3 +273,8 @@ mxhr.onload = function () { }; mxhr.open("GET", apiUrl + "use_shared_session", true); mxhr.send(); + +if (window.location.origin == "https://ave9858.github.io") { + alert("Please use https://massgrave.dev/msdl/") + window.location = "https://massgrave.dev" + window.location.pathname + window.location.hash +}