Explorar el Código

fix: redirecting custom domains

poeti8 hace 6 años
padre
commit
12a880a375
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      server/handlers/links.ts

+ 2 - 0
server/handlers/links.ts

@@ -331,6 +331,8 @@ export const redirectCustomDomain: Handler = async (req, res, next) => {
 
     return res.redirect(301, redirectURL);
   }
+
+  return next();
 };
 
 export const stats: Handler = async (req, res) => {