diff options
author | Chocobozzz <me@florianbigard.com> | 2019-07-08 15:58:35 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2019-07-24 10:58:16 +0200 |
commit | 8d76959e11ab7172040853fa4fadaf8d53e6aa12 (patch) | |
tree | 1e335764d37d118c95cbf8b800e429ff37b83fb5 | |
parent | 18a6f04c071f7a0735eb39b8c67fd51a082d1a31 (diff) | |
download | PeerTube-8d76959e11ab7172040853fa4fadaf8d53e6aa12.tar.gz PeerTube-8d76959e11ab7172040853fa4fadaf8d53e6aa12.tar.zst PeerTube-8d76959e11ab7172040853fa4fadaf8d53e6aa12.zip |
WIP plugins: working hook on server side
-rw-r--r-- | server.ts | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -267,6 +267,8 @@ async function startApplication () { | |||
267 | server.listen(port, hostname, () => { | 267 | server.listen(port, hostname, () => { |
268 | logger.info('Server listening on %s:%d', hostname, port) | 268 | logger.info('Server listening on %s:%d', hostname, port) |
269 | logger.info('Web server: %s', WEBSERVER.URL) | 269 | logger.info('Web server: %s', WEBSERVER.URL) |
270 | |||
271 | PluginManager.Instance.runHook('action:application.listening') | ||
270 | }) | 272 | }) |
271 | 273 | ||
272 | process.on('exit', () => { | 274 | process.on('exit', () => { |