aboutsummaryrefslogtreecommitdiffhomepage
path: root/server.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server.ts')
-rw-r--r--server.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/server.ts b/server.ts
index 2f5f39db2..4d20faa9b 100644
--- a/server.ts
+++ b/server.ts
@@ -1,4 +1,6 @@
1// FIXME: https://github.com/nodejs/node/pull/16853 1// FIXME: https://github.com/nodejs/node/pull/16853
2import { PluginManager } from './server/lib/plugins/plugin-manager'
3
2require('tls').DEFAULT_ECDH_CURVE = 'auto' 4require('tls').DEFAULT_ECDH_CURVE = 'auto'
3 5
4import { isTestInstance } from './server/helpers/core-utils' 6import { isTestInstance } from './server/helpers/core-utils'
@@ -259,6 +261,8 @@ async function startApplication () {
259 updateStreamingPlaylistsInfohashesIfNeeded() 261 updateStreamingPlaylistsInfohashesIfNeeded()
260 .catch(err => logger.error('Cannot update streaming playlist infohashes.', { err })) 262 .catch(err => logger.error('Cannot update streaming playlist infohashes.', { err }))
261 263
264 await PluginManager.Instance.registerPlugins()
265
262 // Make server listening 266 // Make server listening
263 server.listen(port, hostname, () => { 267 server.listen(port, hostname, () => {
264 logger.info('Server listening on %s:%d', hostname, port) 268 logger.info('Server listening on %s:%d', hostname, port)