aboutsummaryrefslogtreecommitdiffhomepage
path: root/server.ts
diff options
context:
space:
mode:
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', () => {