Skip to content

Commit

Permalink
remove defaultRoute from config schema
Browse files Browse the repository at this point in the history
  • Loading branch information
pgayvallet committed Aug 24, 2020
1 parent ebd3495 commit e562df7
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/core/server/ui_settings/ui_settings_config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,7 @@ const deprecations: ConfigDeprecationProvider = ({ unused, renameFromRoot }) =>
];

const configSchema = schema.object({
overrides: schema.object(
{
defaultRoute: schema.maybe(schema.string()),
},
{ unknowns: 'allow' }
),
overrides: schema.object({}, { unknowns: 'allow' }),
});

export type UiSettingsConfigType = TypeOf<typeof configSchema>;
Expand Down

0 comments on commit e562df7

Please sign in to comment.