aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/extra-utils/server/servers.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-07-07 11:51:09 +0200
committerChocobozzz <me@florianbigard.com>2021-07-20 15:27:17 +0200
commit65e6e2602c0d5521f3a6740f7469bb92830ecb53 (patch)
treef89024ffff1dafb0281ee2fe028e89b95101bd44 /shared/extra-utils/server/servers.ts
parentbc8090411ddaa8d742ce4de3c83f9dba7bc18e2a (diff)
downloadPeerTube-65e6e2602c0d5521f3a6740f7469bb92830ecb53.tar.gz
PeerTube-65e6e2602c0d5521f3a6740f7469bb92830ecb53.tar.zst
PeerTube-65e6e2602c0d5521f3a6740f7469bb92830ecb53.zip
Introduce config command
Diffstat (limited to 'shared/extra-utils/server/servers.ts')
-rw-r--r--shared/extra-utils/server/servers.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/shared/extra-utils/server/servers.ts b/shared/extra-utils/server/servers.ts
index 4603cf62e..c33b68316 100644
--- a/shared/extra-utils/server/servers.ts
+++ b/shared/extra-utils/server/servers.ts
@@ -16,6 +16,7 @@ import { AbusesCommand } from '../moderation'
16import { OverviewsCommand } from '../overviews' 16import { OverviewsCommand } from '../overviews'
17import { makeGetRequest } from '../requests/requests' 17import { makeGetRequest } from '../requests/requests'
18import { SearchCommand } from '../search' 18import { SearchCommand } from '../search'
19import { ConfigCommand } from './config-command'
19import { ContactFormCommand } from './contact-form-command' 20import { ContactFormCommand } from './contact-form-command'
20import { DebugCommand } from './debug-command' 21import { DebugCommand } from './debug-command'
21import { FollowsCommand } from './follows-command' 22import { FollowsCommand } from './follows-command'
@@ -91,6 +92,7 @@ interface ServerInfo {
91 pluginsCommand?: PluginsCommand 92 pluginsCommand?: PluginsCommand
92 redundancyCommand?: RedundancyCommand 93 redundancyCommand?: RedundancyCommand
93 statsCommand?: StatsCommand 94 statsCommand?: StatsCommand
95 configCommand?: ConfigCommand
94} 96}
95 97
96function parallelTests () { 98function parallelTests () {
@@ -311,6 +313,7 @@ async function runServer (server: ServerInfo, configOverrideArg?: any, args = []
311 server.pluginsCommand = new PluginsCommand(server) 313 server.pluginsCommand = new PluginsCommand(server)
312 server.redundancyCommand = new RedundancyCommand(server) 314 server.redundancyCommand = new RedundancyCommand(server)
313 server.statsCommand = new StatsCommand(server) 315 server.statsCommand = new StatsCommand(server)
316 server.configCommand = new ConfigCommand(server)
314 317
315 res(server) 318 res(server)
316 }) 319 })