Remove LegacyCDS
This commit is contained in:
parent
13785a0936
commit
7f0a66847b
12 changed files with 28 additions and 1124 deletions
11
app/main.ts
11
app/main.ts
|
@ -378,16 +378,9 @@ async function prepareUrl(
|
|||
const theme = await getResolvedThemeSetting();
|
||||
|
||||
const directoryConfig = directoryConfigSchema.safeParse({
|
||||
directoryType: config.get<string | undefined>('directoryType') || 'legacy',
|
||||
directoryUrl: config.get<string | null>('directoryUrl') || undefined,
|
||||
directoryEnclaveId:
|
||||
config.get<string | null>('directoryEnclaveId') || undefined,
|
||||
directoryTrustAnchor:
|
||||
config.get<string | null>('directoryTrustAnchor') || undefined,
|
||||
directoryCDSIUrl:
|
||||
config.get<string | null>('directoryCDSIUrl') || undefined,
|
||||
directoryCDSIMRENCLAVE:
|
||||
config.get<string | null>('directoryCDSIMRENCLAVE') || undefined,
|
||||
directoryMRENCLAVE:
|
||||
config.get<string | null>('directoryMRENCLAVE') || undefined,
|
||||
});
|
||||
if (!directoryConfig.success) {
|
||||
throw new Error(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue