aboutsummaryrefslogtreecommitdiffhomepage
path: root/server.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-07-19 17:30:41 +0200
committerChocobozzz <chocobozzz@cpy.re>2019-07-24 10:58:16 +0200
commit89cd12756035a146bbcc4db78cd3cd64f2f3d88d (patch)
tree896cd9fca1e0baa969b1f7a5b398ec1602761661 /server.ts
parent09071200c73f5358e1d0bfb61a274e4f2c4ec52b (diff)
downloadPeerTube-89cd12756035a146bbcc4db78cd3cd64f2f3d88d.tar.gz
PeerTube-89cd12756035a146bbcc4db78cd3cd64f2f3d88d.tar.zst
PeerTube-89cd12756035a146bbcc4db78cd3cd64f2f3d88d.zip
Add hook filters tests
Diffstat (limited to 'server.ts')
-rw-r--r--server.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/server.ts b/server.ts
index b75c78b07..abfeeed2e 100644
--- a/server.ts
+++ b/server.ts
@@ -114,6 +114,7 @@ import { isHTTPSignatureDigestValid } from './server/helpers/peertube-crypto'
114import { PeerTubeSocket } from './server/lib/peertube-socket' 114import { PeerTubeSocket } from './server/lib/peertube-socket'
115import { updateStreamingPlaylistsInfohashesIfNeeded } from './server/lib/hls' 115import { updateStreamingPlaylistsInfohashesIfNeeded } from './server/lib/hls'
116import { PluginsCheckScheduler } from './server/lib/schedulers/plugins-check-scheduler' 116import { PluginsCheckScheduler } from './server/lib/schedulers/plugins-check-scheduler'
117import { Hooks } from './server/lib/plugins/hooks'
117 118
118// ----------- Command line ----------- 119// ----------- Command line -----------
119 120
@@ -269,7 +270,7 @@ async function startApplication () {
269 logger.info('Server listening on %s:%d', hostname, port) 270 logger.info('Server listening on %s:%d', hostname, port)
270 logger.info('Web server: %s', WEBSERVER.URL) 271 logger.info('Web server: %s', WEBSERVER.URL)
271 272
272 PluginManager.Instance.runHook('action:application.listening') 273 Hooks.runAction('action:application.listening')
273 }) 274 })
274 275
275 process.on('exit', () => { 276 process.on('exit', () => {