From 637450db1a27b43f7f90931d39dd48e779cbfbb9 Mon Sep 17 00:00:00 2001 From: Muthu Kumar Date: Thu, 25 Apr 2019 19:08:39 +0530 Subject: [PATCH] [feature] Display magnet link if it doesn't redirect --- routes/index.js | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/routes/index.js b/routes/index.js index 424231a..a9dc574 100644 --- a/routes/index.js +++ b/routes/index.js @@ -6,10 +6,22 @@ const magnet = require('./magnet'); template = (magnet, meta) => (` - - -${meta.title} - + + + + + ${meta.title} + + + + +

⚡ :magnet:

+
+		${magnet}
+	
+

+ + `) router.get('/:shortlink', (req, res, next) => {