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') },