mirror of
https://github.com/gravesoft/msdl.git
synced 2026-07-25 08:34:28 +00:00
deprecate Github pages version
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user