Skip to content

Commit

Permalink
Update link to cookies page in banner when in preview mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave House committed May 9, 2018
1 parent b639235 commit 45a9819
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@ app.get('/prototype-admin/clear-data', function (req, res) {
if (promoMode === 'true') {
console.log('Prototype kit running in promo mode')

app.locals.cookieText = 'GOV.UK uses cookies to make the site simpler. <a href="/docs/cookies">Find out more about cookies</a>'

app.get('/', function (req, res) {
res.redirect('/docs')
})
Expand Down

0 comments on commit 45a9819

Please sign in to comment.