mirror of https://github.com/Lissy93/dashy.git
🦺 Update schema validation, disable strict for multi options
This commit is contained in:
parent
29626ebb06
commit
27f10d76db
|
@ -11,7 +11,7 @@ const schema = require('../src/utils/ConfigSchema.json');
|
||||||
|
|
||||||
/* Tell AJV to use strict mode, and report all errors */
|
/* Tell AJV to use strict mode, and report all errors */
|
||||||
const validatorOptions = {
|
const validatorOptions = {
|
||||||
strict: true,
|
strict: false,
|
||||||
allowUnionTypes: true,
|
allowUnionTypes: true,
|
||||||
allErrors: true,
|
allErrors: true,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue