Use local search for recommended videos
[oweals/peertube.git] / server.ts
index 8df3add2cdd3abfa6291c9cbae2ca82c271092c2..e18e2be5c305c68a8fa8b74c4b899682ea3377c6 100644 (file)
--- a/server.ts
+++ b/server.ts
@@ -1,10 +1,6 @@
 import { registerTSPaths } from './server/helpers/register-ts-paths'
-
 registerTSPaths()
 
-// FIXME: https://github.com/nodejs/node/pull/16853
-require('tls').DEFAULT_ECDH_CURVE = 'auto'
-
 import { isTestInstance } from './server/helpers/core-utils'
 if (isTestInstance()) {
   require('source-map-support').install()
@@ -88,7 +84,7 @@ migrate()
 loadLanguages()
 
 // ----------- PeerTube modules -----------
-import { installApplication } from './server/initializers'
+import { installApplication } from './server/initializers/installer'
 import { Emailer } from './server/lib/emailer'
 import { JobQueue } from './server/lib/job-queue'
 import { VideosPreviewCache, VideosCaptionCache } from './server/lib/files-cache'