mirror of https://github.com/Chocobozzz/PeerTube
Force node 10 usage
parent
e669ff5873
commit
005b51b977
|
@ -5,7 +5,7 @@
|
|||
"private": true,
|
||||
"licence": "AGPL-3.0",
|
||||
"engines": {
|
||||
"node": ">=8.x"
|
||||
"node": ">=10.x"
|
||||
},
|
||||
"bin": {
|
||||
"peertube": "dist/server/tools/peertube.js"
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -1,10 +1,6 @@
|
|||
import { registerTSPaths } from '../helpers/register-ts-paths'
|
||||
|
||||
registerTSPaths()
|
||||
|
||||
// FIXME: https://github.com/nodejs/node/pull/16853
|
||||
require('tls').DEFAULT_ECDH_CURVE = 'auto'
|
||||
|
||||
import * as program from 'commander'
|
||||
import { join } from 'path'
|
||||
import { doRequestAndSaveToFile } from '../helpers/requests'
|
||||
|
|
Loading…
Reference in New Issue