mirror of https://github.com/Chocobozzz/PeerTube
WIP plugins: working hook on server side
parent
18a6f04c07
commit
8d76959e11
|
@ -267,6 +267,8 @@ async function startApplication () {
|
|||
server.listen(port, hostname, () => {
|
||||
logger.info('Server listening on %s:%d', hostname, port)
|
||||
logger.info('Web server: %s', WEBSERVER.URL)
|
||||
|
||||
PluginManager.Instance.runHook('action:application.listening')
|
||||
})
|
||||
|
||||
process.on('exit', () => {
|
||||
|
|
Loading…
Reference in New Issue