Make the search helper change based on the server config
This commit is contained in:
parent
52cc0d5485
commit
9677fca772
8 changed files with 62 additions and 12 deletions
|
@ -73,6 +73,12 @@ async function getConfig (req: express.Request, res: express.Response) {
|
|||
css: CONFIG.INSTANCE.CUSTOMIZATIONS.CSS
|
||||
}
|
||||
},
|
||||
search: {
|
||||
remoteUri: {
|
||||
users: CONFIG.SEARCH.REMOTE_URI.USERS,
|
||||
anonymous: CONFIG.SEARCH.REMOTE_URI.ANONYMOUS
|
||||
}
|
||||
},
|
||||
plugin: {
|
||||
registered: getRegisteredPlugins()
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue