Browse Source

fix: redirecting custom domains

poeti8 6 years ago
parent
commit
12a880a375
1 changed files with 2 additions and 0 deletions
  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) => {