diff options
author | poeti8 <ezzati.upt@gmail.com> | 2020-01-31 20:33:26 +0300 |
---|---|---|
committer | poeti8 <ezzati.upt@gmail.com> | 2020-01-31 20:33:26 +0300 |
commit | 12a880a375fb597802eea75ede88a2793ad9ce31 (patch) | |
tree | 604f23fa8f295057728bfb94956a9b0143190795 /server | |
parent | 79327de8fa88b2c87a66c2f46ec1718ce3d4a857 (diff) |
fix: redirecting custom domains
Diffstat (limited to 'server')
-rw-r--r-- | server/handlers/links.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/handlers/links.ts b/server/handlers/links.ts index 02d30cc..7dc58e3 100644 --- a/server/handlers/links.ts +++ b/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) => { |