diff options
author | Chocobozzz <me@florianbigard.com> | 2022-10-11 11:07:40 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-10-11 11:11:04 +0200 |
commit | 9d4c60dccc8e7e777ad139a82e9f61feda9d21fc (patch) | |
tree | 2931338f340b398d36c43575fea95cf1fbbfeb4c /server.ts | |
parent | 9866921cbf3f8f0925f7ffb3a231d5dfe2d30953 (diff) | |
download | PeerTube-9d4c60dccc8e7e777ad139a82e9f61feda9d21fc.tar.gz PeerTube-9d4c60dccc8e7e777ad139a82e9f61feda9d21fc.tar.zst PeerTube-9d4c60dccc8e7e777ad139a82e9f61feda9d21fc.zip |
Add ability for plugins to register ws routes
Diffstat (limited to 'server.ts')
-rw-r--r-- | server.ts | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -328,6 +328,10 @@ async function startApplication () { | |||
328 | GeoIPUpdateScheduler.Instance.enable() | 328 | GeoIPUpdateScheduler.Instance.enable() |
329 | OpenTelemetryMetrics.Instance.registerMetrics() | 329 | OpenTelemetryMetrics.Instance.registerMetrics() |
330 | 330 | ||
331 | PluginManager.Instance.init(server) | ||
332 | // Before PeerTubeSocket init | ||
333 | PluginManager.Instance.registerWebSocketRouter() | ||
334 | |||
331 | PeerTubeSocket.Instance.init(server) | 335 | PeerTubeSocket.Instance.init(server) |
332 | VideoViewsManager.Instance.init() | 336 | VideoViewsManager.Instance.init() |
333 | 337 | ||