Skip to content
Snippets Groups Projects
Verified Commit 2e10564c authored by Laurent Heirendt's avatar Laurent Heirendt :airplane:
Browse files

fix link in autoredirect

parent be2fab4d
No related branches found
No related tags found
2 merge requests!72Regular merge of develop,!68fix link in autoredirect
......@@ -45,7 +45,7 @@
if (status == 200) { // The sub-card is internal, and is accessible
window.location.href = internalCardURL;
} else {
UrlExists(internalPortalURL + '/stable/external/' + sub, function(status){
UrlExists(internalPortalURL + '/stable/external/cards/' + sub, function(status){
if (status == 200) { // if sub-card is internal in the external directory and exists
window.location.href = internalPortalURL + '/stable/external/cards/' + sub;
} else {
......@@ -54,7 +54,7 @@
});
}
});
} else {
} else {
// The user did not request specific card, redirect him just to the stable index
var internalPortalIndexURL = internalPortalURL + '/stable';
var internalPortal404URL = internalPortalURL + '/stable/404.html';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment