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">
|
||||
<script type"javascript">
|
||||
var currentURL = window.location.href;
|
||||
if (/crapaud-fou.gitlab.io\/portail/.test(currentURL)) {
|
||||
newURL = currentURL.replace(/crapaud-fou.gitlab.io\/portail/g, "crapaud-fou.org");
|
||||
if (/crapaud-fou.org/.test(currentURL)) {
|
||||
newURL = currentURL.replace(/(www\.)?crapaud-fou.org/g, "manifeste.crapaud-fou.org");
|
||||
window.location.replace(newURL);
|
||||
}
|
||||
</script>
|
||||
|
|
Loading…
Reference in a new issue