diff options
Diffstat (limited to 'server/controllers')
-rw-r--r-- | server/controllers/api/config.ts | 6 | ||||
-rw-r--r-- | server/controllers/static.ts | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/server/controllers/api/config.ts b/server/controllers/api/config.ts index 69940f395..a383a723f 100644 --- a/server/controllers/api/config.ts +++ b/server/controllers/api/config.ts | |||
@@ -73,6 +73,12 @@ async function getConfig (req: express.Request, res: express.Response) { | |||
73 | css: CONFIG.INSTANCE.CUSTOMIZATIONS.CSS | 73 | css: CONFIG.INSTANCE.CUSTOMIZATIONS.CSS |
74 | } | 74 | } |
75 | }, | 75 | }, |
76 | search: { | ||
77 | remoteUri: { | ||
78 | users: CONFIG.SEARCH.REMOTE_URI.USERS, | ||
79 | anonymous: CONFIG.SEARCH.REMOTE_URI.ANONYMOUS | ||
80 | } | ||
81 | }, | ||
76 | plugin: { | 82 | plugin: { |
77 | registered: getRegisteredPlugins() | 83 | registered: getRegisteredPlugins() |
78 | }, | 84 | }, |
diff --git a/server/controllers/static.ts b/server/controllers/static.ts index 4c6cf9597..75d1a816b 100644 --- a/server/controllers/static.ts +++ b/server/controllers/static.ts | |||
@@ -235,6 +235,12 @@ async function generateNodeinfo (req: express.Request, res: express.Response) { | |||
235 | nodeName: CONFIG.INSTANCE.NAME, | 235 | nodeName: CONFIG.INSTANCE.NAME, |
236 | nodeDescription: CONFIG.INSTANCE.SHORT_DESCRIPTION, | 236 | nodeDescription: CONFIG.INSTANCE.SHORT_DESCRIPTION, |
237 | nodeConfig: { | 237 | nodeConfig: { |
238 | search: { | ||
239 | remoteUri: { | ||
240 | users: CONFIG.SEARCH.REMOTE_URI.USERS, | ||
241 | anonymous: CONFIG.SEARCH.REMOTE_URI.ANONYMOUS | ||
242 | } | ||
243 | }, | ||
238 | plugin: { | 244 | plugin: { |
239 | registered: getRegisteredPlugins() | 245 | registered: getRegisteredPlugins() |
240 | }, | 246 | }, |