Appearance
Variable: RuntimeConfig
ts
const RuntimeConfig: ZodObject<{
apiUrl: ZodOptional<ZodString>;
collectionFlowUrl: ZodOptional<ZodString>;
zitadelClientId: ZodOptional<ZodString>;
zitadelIssuer: ZodOptional<ZodString>;
zitadelOrgDomain: ZodOptional<ZodString>;
zitadelProjectId: ZodOptional<ZodString>;
}, $strip>;Runtime configuration for the UIs, served as GET /config.json from the same origin as the app. The web image's entrypoint writes one file per app from environment variables, so one image serves every environment. The dev servers serve public/config.json, an empty object, so the VITE_* values from the root .env and the localhost defaults apply instead.
Every key is optional and an empty string counts as absent, so a partially rendered file falls through to the next source. zitadelClientId differs per app.