better redirect on 404
This commit is contained in:
parent
c510ad3f03
commit
db33735f26
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
||||||
var currentURL = window.location.href;
|
var currentURL = window.location.href;
|
||||||
if (/crapaud-fou.gitlab.io\/portail/.test(currentURL)) {
|
if (/crapaud-fou.gitlab.io\/portail/.test(currentURL)) {
|
||||||
newURL = currentURL.replace(/crapaud-fou.gitlab.io\/portail/g, "crapaud-fou.org");
|
newURL = currentURL.replace(/crapaud-fou.gitlab.io\/portail/g, "crapaud-fou.org");
|
||||||
window.location = newURL;
|
window.location.replace(newURL);
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
|
|
Loading…
Reference in a new issue