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">
|
<meta charset="utf-8">
|
||||||
<script type"javascript">
|
<script type"javascript">
|
||||||
var currentURL = window.location.href;
|
var currentURL = window.location.href;
|
||||||
newURL = currentURL.replace(/crapaud-fou.org/g, "manifeste.crapaud-fou.org");
|
if (/crapaud-fou.org/.test(currentURL)) {
|
||||||
window.location = newURL;
|
newURL = currentURL.replace(/crapaud-fou.org/g, "manifeste.crapaud-fou.org");
|
||||||
|
window.location = newURL;
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
Loading…
Reference in a new issue