chore: change Comments
This commit is contained in:
committed by
Benedikt Rötsch
parent
2831fb722c
commit
703a5e4d3a
@@ -3,7 +3,7 @@ const { getLandingPage } = require('../services/contentful')
|
||||
const { catchErrors } = require('../handlers/errorHandlers')
|
||||
const router = express.Router()
|
||||
|
||||
/* GET the about landing page. */
|
||||
/* GET the about page. */
|
||||
router.get('/', catchErrors(async function (req, res, next) {
|
||||
const landingPage = await getLandingPage('about', res.locals.currentLocale.code, res.locals.currentApi.id)
|
||||
res.render('landingPage', { title: 'About', landingPage })
|
||||
|
||||
Reference in New Issue
Block a user