mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-11-28 03:23:57 -06:00
Server: remove segfault handler
This commit is contained in:
parent
35165e1669
commit
13e2ab2566
@ -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",
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user