aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tools/cli.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-10-03 14:35:35 +0200
committerChocobozzz <me@florianbigard.com>2018-10-03 14:36:00 +0200
commit499d9015955c0cedd094fbe814dee6235e639627 (patch)
treeb5116cb74b7f2a6ba39dfdc7eda76d2db31e0ca5 /server/tools/cli.ts
parent6a6951ec103e495160b0e4641ea9bbf8014789c3 (diff)
downloadPeerTube-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.ts3
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 @@
1const config = require('application-config')('PeerTube/CLI') 1const config = require('application-config')('PeerTube/CLI')
2const netrc = require('netrc-parser').default 2const netrc = require('netrc-parser').default
3import { getVersion } from '../helpers/utils'
4 3
5const version = getVersion 4const version = require('../../../package.json').version
6 5
7let settings = { 6let settings = {
8 remotes: [], 7 remotes: [],