aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-10-01 12:01:47 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-10-01 12:01:47 +0200
commit13e2ab2566d1d2c366e1938b43e1a12aa11498c9 (patch)
tree89eb88fd26e6ab585bc01a45a5715ebc97c81efc
parent35165e1669f0525fbd1f6b41cf5dd076b326057b (diff)
downloadPeerTube-13e2ab2566d1d2c366e1938b43e1a12aa11498c9.tar.gz
PeerTube-13e2ab2566d1d2c366e1938b43e1a12aa11498c9.tar.zst
PeerTube-13e2ab2566d1d2c366e1938b43e1a12aa11498c9.zip
Server: remove segfault handler
-rw-r--r--package.json1
-rw-r--r--server.js3
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",
diff --git a/server.js b/server.js
index b8564d05a..ca275ccec 100644
--- a/server.js
+++ b/server.js
@@ -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
69require('segfault-handler').registerHandler()
70
71// API routes 68// API routes
72const apiRoute = '/api/' + constants.API_VERSION 69const apiRoute = '/api/' + constants.API_VERSION
73app.use(apiRoute, routes.api) 70app.use(apiRoute, routes.api)