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, () => {
|
server.listen(port, hostname, () => {
|
||||||
logger.info('Server listening on %s:%d', hostname, port)
|
logger.info('Server listening on %s:%d', hostname, port)
|
||||||
logger.info('Web server: %s', WEBSERVER.URL)
|
logger.info('Web server: %s', WEBSERVER.URL)
|
||||||
|
|
||||||
|
PluginManager.Instance.runHook('action:application.listening')
|
||||||
})
|
})
|
||||||
|
|
||||||
process.on('exit', () => {
|
process.on('exit', () => {
|
||||||
|
|
Loading…
Reference in New Issue