diff options
author | Chocobozzz <me@florianbigard.com> | 2021-07-07 11:51:09 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-07-20 15:27:17 +0200 |
commit | 65e6e2602c0d5521f3a6740f7469bb92830ecb53 (patch) | |
tree | f89024ffff1dafb0281ee2fe028e89b95101bd44 /shared/extra-utils/server/servers.ts | |
parent | bc8090411ddaa8d742ce4de3c83f9dba7bc18e2a (diff) | |
download | PeerTube-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.ts | 3 |
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' | |||
16 | import { OverviewsCommand } from '../overviews' | 16 | import { OverviewsCommand } from '../overviews' |
17 | import { makeGetRequest } from '../requests/requests' | 17 | import { makeGetRequest } from '../requests/requests' |
18 | import { SearchCommand } from '../search' | 18 | import { SearchCommand } from '../search' |
19 | import { ConfigCommand } from './config-command' | ||
19 | import { ContactFormCommand } from './contact-form-command' | 20 | import { ContactFormCommand } from './contact-form-command' |
20 | import { DebugCommand } from './debug-command' | 21 | import { DebugCommand } from './debug-command' |
21 | import { FollowsCommand } from './follows-command' | 22 | import { 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 | ||
96 | function parallelTests () { | 98 | function 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 | }) |