projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18a6f04
)
WIP plugins: working hook on server side
author
Chocobozzz
<me@florianbigard.com>
Mon, 8 Jul 2019 13:58:35 +0000
(15:58 +0200)
committer
Chocobozzz
<chocobozzz@cpy.re>
Wed, 24 Jul 2019 08:58:16 +0000
(10:58 +0200)
server.ts
patch
|
blob
|
history
diff --git
a/server.ts
b/server.ts
index 4d20faa9bbfdf1a92ac60f22da6154ca93d0fc62..ac373b041b4f2fe3b9bcfff7a36aaa8f77a69457 100644
(file)
--- 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', () => {