aboutsummaryrefslogtreecommitdiffhomepage
path: root/server.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-01-28 14:02:47 +0100
committerChocobozzz <me@florianbigard.com>2020-01-28 14:03:12 +0100
commit005b51b977e624b64107ccd10594920e5a6c264c (patch)
treea33b34098cccb451f3d79d88f4774ee1839a722f /server.ts
parente669ff58736e919cbc300e1880d995006592fa0c (diff)
downloadPeerTube-005b51b977e624b64107ccd10594920e5a6c264c.tar.gz
PeerTube-005b51b977e624b64107ccd10594920e5a6c264c.tar.zst
PeerTube-005b51b977e624b64107ccd10594920e5a6c264c.zip
Force node 10 usage
Diffstat (limited to 'server.ts')
-rw-r--r--server.ts4
1 files changed, 0 insertions, 4 deletions
diff --git a/server.ts b/server.ts
index 8df3add2c..b14ebf623 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()