Added Sentry / Added comment
This commit is contained in:
@@ -12,6 +12,9 @@ Router.use('/static', static_routes);
|
||||
Router.use('/api', api_routes);
|
||||
Router.use('/', frontend_routes);
|
||||
|
||||
Router.get('/debug-sentry', function mainHandler(req, res) {
|
||||
throw new Error('My first Sentry error!');
|
||||
});
|
||||
// Default route.
|
||||
Router.all('*', function (req, res) {
|
||||
// TODO: Respond based on content-type (with req.is('application/json'))
|
||||
|
Reference in New Issue
Block a user