Skip to content

Commit

Permalink
Add route for landing page to replace start page
Browse files Browse the repository at this point in the history
  • Loading branch information
alextea committed Sep 24, 2024
1 parent 84aea86 commit e70c491
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/routes/manage.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import nunjucks from 'nunjucks'
const router = express.Router()

router.get('/', (req, res) => {
const manage = nunjucks.render('start.html', {})
res.send(manage)
const landing = nunjucks.render('landing.html', {})
res.send(landing)
})

export default router
2 changes: 1 addition & 1 deletion src/routes/schemas.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ export const templateSchema = new Map([
['errorPages/500', ErrorParams],
['errorPages/404', EmptyParams],
['privacy-notice.html', EmptyParams],
['start.html', EmptyParams],
['landing.html', EmptyParams],
['cookies.html', EmptyParams],
['accessibility.html', EmptyParams]
])

0 comments on commit e70c491

Please sign in to comment.