Fix events stuff, improve errors
This commit is contained in:
parent
3091c6dff6
commit
652fe5c264
6 changed files with 48 additions and 16 deletions
|
@ -17,6 +17,7 @@ import debugname from 'debug';
|
|||
const debug = debugname('hostr-web');
|
||||
|
||||
const router = new Router();
|
||||
|
||||
router.use(errors({template: path.join(__dirname, 'public', 'error.html')}));
|
||||
|
||||
let statsdOpts = {prefix: 'hostr-web', host: process.env.STATSD_HOST || 'localhost'};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue