Verified Commit 6bcfbf65 authored by Laurent Heirendt's avatar Laurent Heirendt
Browse files

redirect to stable 404

parent bf752eba
......@@ -41,7 +41,7 @@
if (status == 200) { // if sub-card is internal in the external directory and exists
window.location.href = internalURL+'/stable/external/'+sub;
} else {
window.location.href = internalURL+'/404.html';
window.location.href = internalURL+'/stable/404.html';
}
});
}
......@@ -51,7 +51,7 @@
if (status == 200) { // if card is internal and exists
window.location.href = internalURL+'/stable';
} else {
window.location.href = internalURL+'/404.html';
window.location.href = internalURL+'/stable/404.html';
}
});
}
......@@ -62,7 +62,7 @@
if (status == 200) { // if sub-car is internal and exists
window.location.href = externalURL+'/stable/'+sub;
} else {
window.location.href = externalURL+'/404.html';
window.location.href = externalURL+'/stable/404.html';
}
});
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment