diff options
author | Chocobozzz <me@florianbigard.com> | 2018-10-03 14:35:35 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-10-03 14:36:00 +0200 |
commit | 499d9015955c0cedd094fbe814dee6235e639627 (patch) | |
tree | b5116cb74b7f2a6ba39dfdc7eda76d2db31e0ca5 /server/tools/cli.ts | |
parent | 6a6951ec103e495160b0e4641ea9bbf8014789c3 (diff) | |
download | PeerTube-499d9015955c0cedd094fbe814dee6235e639627.tar.gz PeerTube-499d9015955c0cedd094fbe814dee6235e639627.tar.zst PeerTube-499d9015955c0cedd094fbe814dee6235e639627.zip |
Fix config endpoint
Diffstat (limited to 'server/tools/cli.ts')
-rw-r--r-- | server/tools/cli.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/tools/cli.ts b/server/tools/cli.ts index 87d1512a3..53b20964e 100644 --- a/server/tools/cli.ts +++ b/server/tools/cli.ts | |||
@@ -1,8 +1,7 @@ | |||
1 | const config = require('application-config')('PeerTube/CLI') | 1 | const config = require('application-config')('PeerTube/CLI') |
2 | const netrc = require('netrc-parser').default | 2 | const netrc = require('netrc-parser').default |
3 | import { getVersion } from '../helpers/utils' | ||
4 | 3 | ||
5 | const version = getVersion | 4 | const version = require('../../../package.json').version |
6 | 5 | ||
7 | let settings = { | 6 | let settings = { |
8 | remotes: [], | 7 | remotes: [], |