feat: use config for MultiSearchRoute

This commit is contained in:
Wieland Schöbl
2019-02-13 17:10:47 +01:00
committed by Rainer Killinger
parent 2b894bd1b6
commit 827827905b
6 changed files with 254 additions and 143 deletions

View File

@@ -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) {