From 2e10564c6cbcdf7cc57186f87336965b86891155 Mon Sep 17 00:00:00 2001 From: laurentheirendt <laurent.heirendt@uni.lu> Date: Wed, 12 Feb 2020 16:35:18 +0100 Subject: [PATCH] fix link in autoredirect --- .ci/.autoRedirect | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.ci/.autoRedirect b/.ci/.autoRedirect index d8816722..55e48536 100644 --- a/.ci/.autoRedirect +++ b/.ci/.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'; -- GitLab