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 /server.js | |
parent | 35165e1669f0525fbd1f6b41cf5dd076b326057b (diff) | |
download | PeerTube-13e2ab2566d1d2c366e1938b43e1a12aa11498c9.tar.gz PeerTube-13e2ab2566d1d2c366e1938b43e1a12aa11498c9.tar.zst PeerTube-13e2ab2566d1d2c366e1938b43e1a12aa11498c9.zip |
Server: remove segfault handler
Diffstat (limited to 'server.js')
-rw-r--r-- | server.js | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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) |