diff options
author | Chocobozzz <me@florianbigard.com> | 2019-07-19 17:30:41 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2019-07-24 10:58:16 +0200 |
commit | 89cd12756035a146bbcc4db78cd3cd64f2f3d88d (patch) | |
tree | 896cd9fca1e0baa969b1f7a5b398ec1602761661 /server.ts | |
parent | 09071200c73f5358e1d0bfb61a274e4f2c4ec52b (diff) | |
download | PeerTube-89cd12756035a146bbcc4db78cd3cd64f2f3d88d.tar.gz PeerTube-89cd12756035a146bbcc4db78cd3cd64f2f3d88d.tar.zst PeerTube-89cd12756035a146bbcc4db78cd3cd64f2f3d88d.zip |
Add hook filters tests
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', () => { |