Browse Source

whitespace

fix-133-memory-crash
Dan Janosik 7 years ago
parent
commit
68de59a921
  1. 4
      app.js

4
app.js

@ -35,8 +35,8 @@ app.set('views', path.join(__dirname, 'views'));
// ref: https://blog.stigok.com/post/disable-pug-debug-output-with-expressjs-web-app
app.engine('pug', (path, options, fn) => {
options.debug = false;
return pug.__express.call(null, path, options, fn);
options.debug = false;
return pug.__express.call(null, path, options, fn);
});
app.set('view engine', 'pug');

Loading…
Cancel
Save