diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-10-01 12:01:47 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-10-01 12:01:47 +0200 |
commit | 13e2ab2566d1d2c366e1938b43e1a12aa11498c9 (patch) | |
tree | 89eb88fd26e6ab585bc01a45a5715ebc97c81efc | |
parent | 35165e1669f0525fbd1f6b41cf5dd076b326057b (diff) | |
download | PeerTube-13e2ab2566d1d2c366e1938b43e1a12aa11498c9.tar.gz PeerTube-13e2ab2566d1d2c366e1938b43e1a12aa11498c9.tar.zst PeerTube-13e2ab2566d1d2c366e1938b43e1a12aa11498c9.zip |
Server: remove segfault handler
-rw-r--r-- | package.json | 1 | ||||
-rw-r--r-- | server.js | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/package.json b/package.json index 821644368..27958dd43 100644 --- a/package.json +++ b/package.json | |||
@@ -60,7 +60,6 @@ | |||
60 | "request": "^2.57.0", | 60 | "request": "^2.57.0", |
61 | "request-replay": "^1.0.2", | 61 | "request-replay": "^1.0.2", |
62 | "scripty": "^1.5.0", | 62 | "scripty": "^1.5.0", |
63 | "segfault-handler": "^1.0.0", | ||
64 | "ursa": "^0.9.1", | 63 | "ursa": "^0.9.1", |
65 | "webtorrent": "^0.96.0", | 64 | "webtorrent": "^0.96.0", |
66 | "winston": "^2.1.1", | 65 | "winston": "^2.1.1", |
@@ -65,9 +65,6 @@ app.use(expressValidator({ | |||
65 | 65 | ||
66 | // ----------- Views, routes and static files ----------- | 66 | // ----------- Views, routes and static files ----------- |
67 | 67 | ||
68 | // Catch sefaults | ||
69 | require('segfault-handler').registerHandler() | ||
70 | |||
71 | // API routes | 68 | // API routes |
72 | const apiRoute = '/api/' + constants.API_VERSION | 69 | const apiRoute = '/api/' + constants.API_VERSION |
73 | app.use(apiRoute, routes.api) | 70 | app.use(apiRoute, routes.api) |