diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-02-03 15:19:43 +0100 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2020-02-13 16:32:58 +0100 |
commit | 9677fca772349248925da6c5f34f600e9a2abbe6 (patch) | |
tree | 635c9aba8c4966eb9fd77355a47bcb83dff9df71 /shared/models/server/server-config.model.ts | |
parent | 52cc0d54850e0acf069d2f95d063826f16ff5238 (diff) | |
download | PeerTube-9677fca772349248925da6c5f34f600e9a2abbe6.tar.gz PeerTube-9677fca772349248925da6c5f34f600e9a2abbe6.tar.zst PeerTube-9677fca772349248925da6c5f34f600e9a2abbe6.zip |
Make the search helper change based on the server config
Diffstat (limited to 'shared/models/server/server-config.model.ts')
-rw-r--r-- | shared/models/server/server-config.model.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/shared/models/server/server-config.model.ts b/shared/models/server/server-config.model.ts index 76e0d6f2d..c3976a346 100644 --- a/shared/models/server/server-config.model.ts +++ b/shared/models/server/server-config.model.ts | |||
@@ -28,6 +28,13 @@ export interface ServerConfig { | |||
28 | } | 28 | } |
29 | } | 29 | } |
30 | 30 | ||
31 | search: { | ||
32 | remoteUri: { | ||
33 | users: boolean | ||
34 | anonymous: boolean | ||
35 | } | ||
36 | } | ||
37 | |||
31 | plugin: { | 38 | plugin: { |
32 | registered: ServerConfigPlugin[] | 39 | registered: ServerConfigPlugin[] |
33 | } | 40 | } |