Add hook filters tests
This commit is contained in:
parent
09071200c7
commit
89cd127560
18 changed files with 306 additions and 80 deletions
|
@ -114,6 +114,7 @@ import { isHTTPSignatureDigestValid } from './server/helpers/peertube-crypto'
|
|||
import { PeerTubeSocket } from './server/lib/peertube-socket'
|
||||
import { updateStreamingPlaylistsInfohashesIfNeeded } from './server/lib/hls'
|
||||
import { PluginsCheckScheduler } from './server/lib/schedulers/plugins-check-scheduler'
|
||||
import { Hooks } from './server/lib/plugins/hooks'
|
||||
|
||||
// ----------- Command line -----------
|
||||
|
||||
|
@ -269,7 +270,7 @@ async function startApplication () {
|
|||
logger.info('Server listening on %s:%d', hostname, port)
|
||||
logger.info('Web server: %s', WEBSERVER.URL)
|
||||
|
||||
PluginManager.Instance.runHook('action:application.listening')
|
||||
Hooks.runAction('action:application.listening')
|
||||
})
|
||||
|
||||
process.on('exit', () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue