diff options
Diffstat (limited to 'server.ts')
-rw-r--r-- | server.ts | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -1,10 +1,6 @@ | |||
1 | import { registerTSPaths } from './server/helpers/register-ts-paths' | 1 | import { registerTSPaths } from './server/helpers/register-ts-paths' |
2 | |||
3 | registerTSPaths() | 2 | registerTSPaths() |
4 | 3 | ||
5 | // FIXME: https://github.com/nodejs/node/pull/16853 | ||
6 | require('tls').DEFAULT_ECDH_CURVE = 'auto' | ||
7 | |||
8 | import { isTestInstance } from './server/helpers/core-utils' | 4 | import { isTestInstance } from './server/helpers/core-utils' |
9 | if (isTestInstance()) { | 5 | if (isTestInstance()) { |
10 | require('source-map-support').install() | 6 | require('source-map-support').install() |
@@ -88,7 +84,7 @@ migrate() | |||
88 | loadLanguages() | 84 | loadLanguages() |
89 | 85 | ||
90 | // ----------- PeerTube modules ----------- | 86 | // ----------- PeerTube modules ----------- |
91 | import { installApplication } from './server/initializers' | 87 | import { installApplication } from './server/initializers/installer' |
92 | import { Emailer } from './server/lib/emailer' | 88 | import { Emailer } from './server/lib/emailer' |
93 | import { JobQueue } from './server/lib/job-queue' | 89 | import { JobQueue } from './server/lib/job-queue' |
94 | import { VideosPreviewCache, VideosCaptionCache } from './server/lib/files-cache' | 90 | import { VideosPreviewCache, VideosCaptionCache } from './server/lib/files-cache' |