aboutsummaryrefslogtreecommitdiffhomepage
path: root/server.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-07-08 15:58:35 +0200
committerChocobozzz <chocobozzz@cpy.re>2019-07-24 10:58:16 +0200
commit8d76959e11ab7172040853fa4fadaf8d53e6aa12 (patch)
tree1e335764d37d118c95cbf8b800e429ff37b83fb5 /server.ts
parent18a6f04c071f7a0735eb39b8c67fd51a082d1a31 (diff)
downloadPeerTube-8d76959e11ab7172040853fa4fadaf8d53e6aa12.tar.gz
PeerTube-8d76959e11ab7172040853fa4fadaf8d53e6aa12.tar.zst
PeerTube-8d76959e11ab7172040853fa4fadaf8d53e6aa12.zip
WIP plugins: working hook on server side
Diffstat (limited to 'server.ts')
-rw-r--r--server.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/server.ts b/server.ts
index 4d20faa9b..ac373b041 100644
--- a/server.ts
+++ b/server.ts
@@ -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', () => {