From 6bcfbf65bd53f0d0d5bdfffad20e5c91dfef4c80 Mon Sep 17 00:00:00 2001
From: laurentheirendt <laurent.heirendt@uni.lu>
Date: Mon, 11 Nov 2019 09:50:01 +0100
Subject: [PATCH] redirect to stable 404

---
 .ci/.autoRedirect | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.ci/.autoRedirect b/.ci/.autoRedirect
index 4e145579..6ee4103f 100644
--- a/.ci/.autoRedirect
+++ b/.ci/.autoRedirect
@@ -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';
                 }
             });
         }
-- 
GitLab