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