fix 404 script

This commit is contained in:
mose 2019-08-28 13:51:45 +08:00
parent d77c26f64d
commit 819dc29bd9

View file

@ -4,8 +4,10 @@
<meta charset="utf-8">
<script type"javascript">
var currentURL = window.location.href;
newURL = currentURL.replace(/crapaud-fou.org/g, "manifeste.crapaud-fou.org");
window.location = newURL;
if (/crapaud-fou.org/.test(currentURL)) {
newURL = currentURL.replace(/crapaud-fou.org/g, "manifeste.crapaud-fou.org");
window.location = newURL;
}
</script>
</head>
<body>