Browse Source

fix: redirecting custom domains

poeti8 6 năm trước cách đây
mục cha
commit
12a880a375
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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) => {