Skip to content

Commit

Permalink
option demo
Browse files Browse the repository at this point in the history
  • Loading branch information
lc512k committed May 17, 2017
1 parent 811b18e commit 4eb7859
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion main.js
Expand Up @@ -58,7 +58,9 @@ const getAppContainer = options => {
app.use(cache);
app.use(vary);

healthChecks(app, options, meta)
if (!options.demo) {
healthChecks(app, options, meta);
}

app.use((req, res, next) => {
res.set('FT-Backend-Timestamp', new Date().toISOString());
Expand Down

0 comments on commit 4eb7859

Please sign in to comment.