deprecate Github pages version

This commit is contained in:
Ave
2023-10-21 20:24:08 +00:00
parent e4cf21ed2f
commit 1e632f57fa
+5
View File
@@ -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
}