Server: remove segfault handler

This commit is contained in:
Chocobozzz 2016-10-01 12:01:47 +02:00
parent 35165e1669
commit 13e2ab2566
2 changed files with 0 additions and 4 deletions

View File

@ -60,7 +60,6 @@
"request": "^2.57.0", "request": "^2.57.0",
"request-replay": "^1.0.2", "request-replay": "^1.0.2",
"scripty": "^1.5.0", "scripty": "^1.5.0",
"segfault-handler": "^1.0.0",
"ursa": "^0.9.1", "ursa": "^0.9.1",
"webtorrent": "^0.96.0", "webtorrent": "^0.96.0",
"winston": "^2.1.1", "winston": "^2.1.1",

View File

@ -65,9 +65,6 @@ app.use(expressValidator({
// ----------- Views, routes and static files ----------- // ----------- Views, routes and static files -----------
// Catch sefaults
require('segfault-handler').registerHandler()
// API routes // API routes
const apiRoute = '/api/' + constants.API_VERSION const apiRoute = '/api/' + constants.API_VERSION
app.use(apiRoute, routes.api) app.use(apiRoute, routes.api)