mirror of
https://github.com/zyachel/quetre.git
synced 2025-04-04 21:47:38 +03:00
feat: add meta tags for seo
This commit is contained in:
parent
7f0406f054
commit
14eece71a6
4 changed files with 40 additions and 1 deletions
|
@ -34,6 +34,9 @@ const sendErrorResponse = (err, req, res, devMode = false) => {
|
|||
},
|
||||
meta: {
|
||||
title: 'Error',
|
||||
url: `${req.urlObj.origin}${req.urlObj.pathname}`,
|
||||
imageUrl: `${req.urlObj.origin}/icon.svg`,
|
||||
description: `ERROR: ${err.message}. Please try again later.`,
|
||||
},
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue