From 56df7815b56f35d4e1b539087aac16f4ceabf7be Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 1 Feb 2021 11:30:01 +0100 Subject: Fix URI search config update --- server/initializers/config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/initializers') 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 = { }, SEARCH: { REMOTE_URI: { - USERS: config.get('search.remote_uri.users'), - ANONYMOUS: config.get('search.remote_uri.anonymous') + get USERS () { return config.get('search.remote_uri.users') }, + get ANONYMOUS () { return config.get('search.remote_uri.anonymous') } }, SEARCH_INDEX: { get ENABLED () { return config.get('search.search_index.enabled') }, -- cgit v1.2.3