Skip to content

Commit

Permalink
remove overrides config validation
Browse files Browse the repository at this point in the history
  • Loading branch information
pgayvallet committed Aug 24, 2020
1 parent 74e10e7 commit edce83b
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/core/server/ui_settings/ui_settings_config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,7 @@ const deprecations: ConfigDeprecationProvider = ({ unused, renameFromRoot }) =>
const configSchema = schema.object({
overrides: schema.object(
{
defaultRoute: schema.maybe(
schema.string({
validate(value) {
if (!value.startsWith('/')) {
return 'must start with a slash';
}
},
})
),
defaultRoute: schema.maybe(schema.string()),
},
{ unknowns: 'allow' }
),
Expand Down

0 comments on commit edce83b

Please sign in to comment.