feat: add link to redirect user to Quora in case of errors

if user stumbles upon some error page, or a route that is yet to be implemented, added a link so that user can easily go to Quora should he/she wishes to do so.
This commit is contained in:
zyachel 2022-06-15 22:11:50 +05:30
parent ad014480ea
commit 2dd4a030d2
3 changed files with 5 additions and 0 deletions

View file

@ -78,6 +78,7 @@ export const unimplemented = (req, res, next) => {
title: 'Not yet implemented',
url: `${req.urlObj.origin}${req.urlObj.pathname}`,
imageUrl: `${req.urlObj.origin}/icon.svg`,
urlObj: req.urlObj,
description: message,
},
});