mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2026-09-03 20:53:09 -05:00
WIP plugins: working hook on server side
This commit is contained in:
@@ -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', () => {
|
||||
|
||||
Reference in New Issue
Block a user