mirror of
https://github.com/zyachel/quetre.git
synced 2025-04-05 22:17:39 +03:00
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:
parent
ad014480ea
commit
2dd4a030d2
3 changed files with 5 additions and 0 deletions
|
@ -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,
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue