aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/extra-utils/server/servers.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-07-06 15:53:25 +0200
committerChocobozzz <me@florianbigard.com>2021-07-20 15:27:17 +0200
commita9c58393d36d221197b48884a1960e6126ab31d7 (patch)
treeb504eeefd6449d26122a7ee69affa24d242c70da /shared/extra-utils/server/servers.ts
parent2d1ad5b96063d1e430ca99128a15e2e56cb614e0 (diff)
downloadPeerTube-a9c58393d36d221197b48884a1960e6126ab31d7.tar.gz
PeerTube-a9c58393d36d221197b48884a1960e6126ab31d7.tar.zst
PeerTube-a9c58393d36d221197b48884a1960e6126ab31d7.zip
Introduce contact form 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 8ccf790fc..b58639ba6 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 { ContactFormCommand } from './contact-form-command'
19 20
20interface ServerInfo { 21interface ServerInfo {
21 app: ChildProcess 22 app: ChildProcess
@@ -77,6 +78,7 @@ interface ServerInfo {
77 abusesCommand?: AbusesCommand 78 abusesCommand?: AbusesCommand
78 overviewsCommand?: OverviewsCommand 79 overviewsCommand?: OverviewsCommand
79 searchCommand?: SearchCommand 80 searchCommand?: SearchCommand
81 contactFormCommand?: ContactFormCommand
80} 82}
81 83
82function parallelTests () { 84function parallelTests () {
@@ -290,6 +292,7 @@ async function runServer (server: ServerInfo, configOverrideArg?: any, args = []
290 server.abusesCommand = new AbusesCommand(server) 292 server.abusesCommand = new AbusesCommand(server)
291 server.overviewsCommand = new OverviewsCommand(server) 293 server.overviewsCommand = new OverviewsCommand(server)
292 server.searchCommand = new SearchCommand(server) 294 server.searchCommand = new SearchCommand(server)
295 server.contactFormCommand = new ContactFormCommand(server)
293 296
294 res(server) 297 res(server)
295 }) 298 })