Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/thedevs-network/kutt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorpoeti8 <ezzati.upt@gmail.com>2020-01-31 20:33:26 +0300
committerpoeti8 <ezzati.upt@gmail.com>2020-01-31 20:33:26 +0300
commit12a880a375fb597802eea75ede88a2793ad9ce31 (patch)
tree604f23fa8f295057728bfb94956a9b0143190795 /server
parent79327de8fa88b2c87a66c2f46ec1718ce3d4a857 (diff)
fix: redirecting custom domains
Diffstat (limited to 'server')
-rw-r--r--server/handlers/links.ts2
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) => {