From: Chocobozzz Date: Mon, 8 Jul 2019 13:58:35 +0000 (+0200) Subject: WIP plugins: working hook on server side X-Git-Tag: v1.4.0-rc.1~122 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8d76959e11ab7172040853fa4fadaf8d53e6aa12;p=oweals%2Fpeertube.git WIP plugins: working hook on server side --- 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 () { 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', () => {