Updated frontpage redirecting

This commit is contained in:
Kasper Rynning-Tønnesen
2017-03-16 14:42:54 +01:00
parent 9ae2634ec8
commit 17b3450deb
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@@ -372,7 +372,7 @@ function initfp(){
//Materialize.toast('<p id="aprilfools">We suck at pranks..<a class="waves-effect waves-light btn light-green" style="pointer-events:none;">Agreed</a></p>', 100000);
}
if(window.location.hostname == "zoff.no") window.location.href = "https://zoff.me";
if(window.location.hostname != "zoff.me") window.location.href = "https://zoff.me";
window.onpopstate = function(e){
var url_split = window.location.href.split("/");