mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-21 17:12:43 +00:00
feat: use config for MultiSearchRoute
This commit is contained in:
committed by
Rainer Killinger
parent
2b894bd1b6
commit
827827905b
@@ -65,6 +65,8 @@ async function configureApp() {
|
||||
|
||||
// validate the config file
|
||||
const configValidation = scValidator.validate(config.util.toObject(), 'SCConfigFile');
|
||||
// use the config file
|
||||
app.set('config', config.util.toObject());
|
||||
|
||||
// validation failed
|
||||
if (configValidation.errors.length > 0) {
|
||||
|
||||
Reference in New Issue
Block a user