diff options
author | Chocobozzz <me@florianbigard.com> | 2020-01-28 14:02:47 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-01-28 14:03:12 +0100 |
commit | 005b51b977e624b64107ccd10594920e5a6c264c (patch) | |
tree | a33b34098cccb451f3d79d88f4774ee1839a722f /server.ts | |
parent | e669ff58736e919cbc300e1880d995006592fa0c (diff) | |
download | PeerTube-005b51b977e624b64107ccd10594920e5a6c264c.tar.gz PeerTube-005b51b977e624b64107ccd10594920e5a6c264c.tar.zst PeerTube-005b51b977e624b64107ccd10594920e5a6c264c.zip |
Force node 10 usage
Diffstat (limited to 'server.ts')
-rw-r--r-- | server.ts | 4 |
1 files changed, 0 insertions, 4 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() |