fix 404 script
This commit is contained in:
parent
d77c26f64d
commit
819dc29bd9
1 changed files with 4 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue