diff --git a/routes/about.js b/routes/about.js index 371d243..fb4d8d1 100644 --- a/routes/about.js +++ b/routes/about.js @@ -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 })