diff options
Diffstat (limited to 'server.ts')
-rw-r--r-- | server.ts | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -114,6 +114,7 @@ import { isHTTPSignatureDigestValid } from './server/helpers/peertube-crypto' | |||
114 | import { PeerTubeSocket } from './server/lib/peertube-socket' | 114 | import { PeerTubeSocket } from './server/lib/peertube-socket' |
115 | import { updateStreamingPlaylistsInfohashesIfNeeded } from './server/lib/hls' | 115 | import { updateStreamingPlaylistsInfohashesIfNeeded } from './server/lib/hls' |
116 | import { PluginsCheckScheduler } from './server/lib/schedulers/plugins-check-scheduler' | 116 | import { PluginsCheckScheduler } from './server/lib/schedulers/plugins-check-scheduler' |
117 | import { 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', () => { |