diff options
author | Chocobozzz <me@florianbigard.com> | 2018-01-05 14:15:32 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-01-05 14:15:32 +0100 |
commit | 6b467fd54e58edb77dade400380581485a484434 (patch) | |
tree | a1c65182a4ee71269c680d15d2ad935e2c8b7280 /server.ts | |
parent | d7e70384a360cda51fe23712331110a5c8b1124c (diff) | |
download | PeerTube-6b467fd54e58edb77dade400380581485a484434.tar.gz PeerTube-6b467fd54e58edb77dade400380581485a484434.tar.zst PeerTube-6b467fd54e58edb77dade400380581485a484434.zip |
Fix tls and account bug
Diffstat (limited to 'server.ts')
-rw-r--r-- | server.ts | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1,3 +1,6 @@ | |||
1 | // FIXME: https://github.com/nodejs/node/pull/16853 | ||
2 | require('tls').DEFAULT_ECDH_CURVE = 'auto' | ||
3 | |||
1 | import { isTestInstance } from './server/helpers/core-utils' | 4 | import { isTestInstance } from './server/helpers/core-utils' |
2 | 5 | ||
3 | if (isTestInstance()) { | 6 | if (isTestInstance()) { |