Gitlab is now using https://gitlab.lcsb.uni.lu as it's primary address. Please update your bookmarks. FAQ.

Verified Commit 2e10564c authored by Laurent Heirendt's avatar Laurent Heirendt
Browse files

fix link in autoredirect

parent be2fab4d
......@@ -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