diff options
Diffstat (limited to 'server.ts')
-rw-r--r-- | server.ts | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,4 +1,6 @@ | |||
1 | // FIXME: https://github.com/nodejs/node/pull/16853 | 1 | // FIXME: https://github.com/nodejs/node/pull/16853 |
2 | import { PluginManager } from './server/lib/plugins/plugin-manager' | ||
3 | |||
2 | require('tls').DEFAULT_ECDH_CURVE = 'auto' | 4 | require('tls').DEFAULT_ECDH_CURVE = 'auto' |
3 | 5 | ||
4 | import { isTestInstance } from './server/helpers/core-utils' | 6 | import { 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) |