Skip to content

Commit

Permalink
Merge branch 'master' into HOFF-768
Browse files Browse the repository at this point in the history
  • Loading branch information
mislam987 authored Sep 17, 2024
2 parents 7967a12 + 977f7bf commit b7a67fb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/hof-defaults.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ const defaults = {
return convertPage(page);
}
},
deIndexForm: process.env.DEINDEX_FORM || 'false',
gaCrossDomainTrackingTagId: process.env.GDS_CROSS_DOMAIN_GA_TAG,
loglevel: process.env.LOG_LEVEL || 'info',
ignoreMiddlewareLogs: ['/healthz'],
Expand Down
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ const router = require('./lib/router');
const health = require('./lib/health');
const serveStatic = require('./lib/serve-static');
const gaTagSetup = require('./lib/ga-tag');
const deIndexer = require('./lib/deindex');
const sessionStore = require('./lib/sessions');
const settings = require('./lib/settings');
const defaults = require('./config/hof-defaults');
Expand Down Expand Up @@ -198,6 +199,7 @@ function bootstrap(options) {
serveStatic(app, config);
settings(app, config);
gaTagSetup(app, config);
deIndexer(app, config);

const sessions = sessionStore(app, config);
app.use('/healthz', health(sessions));
Expand Down

0 comments on commit b7a67fb

Please sign in to comment.