update 404 redirection
This commit is contained in:
parent
f07918a123
commit
7a7f2bcf3b
1 changed files with 2 additions and 2 deletions
|
@ -4,8 +4,8 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<script type"javascript">
|
<script type"javascript">
|
||||||
var currentURL = window.location.href;
|
var currentURL = window.location.href;
|
||||||
if (/crapaud-fou.gitlab.io\/portail/.test(currentURL)) {
|
if (/crapaud-fou.org/.test(currentURL)) {
|
||||||
newURL = currentURL.replace(/crapaud-fou.gitlab.io\/portail/g, "crapaud-fou.org");
|
newURL = currentURL.replace(/(www\.)?crapaud-fou.org/g, "manifeste.crapaud-fou.org");
|
||||||
window.location.replace(newURL);
|
window.location.replace(newURL);
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in a new issue