Commit 9e526b95 authored by Laurent Heirendt's avatar Laurent Heirendt
Browse files

Merge branch 'fix-37' into 'develop'

fix link in autoredirect

See merge request R3/howto-cards!68
parents be2fab4d 2e10564c
Pipeline #20988 failed with stage
in 32 seconds
......@@ -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';
......
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