aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-02-01 11:30:01 +0100
committerChocobozzz <me@florianbigard.com>2021-02-01 11:30:01 +0100
commit56df7815b56f35d4e1b539087aac16f4ceabf7be (patch)
treef717ef1fe9db88a89f4cf17930c3f6c4b3c9be48 /server/initializers
parent7e3592d70bb797cb38a06283a7d5b0738deb1eae (diff)
downloadPeerTube-56df7815b56f35d4e1b539087aac16f4ceabf7be.tar.gz
PeerTube-56df7815b56f35d4e1b539087aac16f4ceabf7be.tar.zst
PeerTube-56df7815b56f35d4e1b539087aac16f4ceabf7be.zip
Fix URI search config update
Diffstat (limited to 'server/initializers')
-rw-r--r--server/initializers/config.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/initializers/config.ts b/server/initializers/config.ts
index 7322b89e2..3b44d82ed 100644
--- a/server/initializers/config.ts
+++ b/server/initializers/config.ts
@@ -336,8 +336,8 @@ const CONFIG = {
336 }, 336 },
337 SEARCH: { 337 SEARCH: {
338 REMOTE_URI: { 338 REMOTE_URI: {
339 USERS: config.get<boolean>('search.remote_uri.users'), 339 get USERS () { return config.get<boolean>('search.remote_uri.users') },
340 ANONYMOUS: config.get<boolean>('search.remote_uri.anonymous') 340 get ANONYMOUS () { return config.get<boolean>('search.remote_uri.anonymous') }
341 }, 341 },
342 SEARCH_INDEX: { 342 SEARCH_INDEX: {
343 get ENABLED () { return config.get<boolean>('search.search_index.enabled') }, 343 get ENABLED () { return config.get<boolean>('search.search_index.enabled') },