Merged in chore/remove-show-signup-flag (pull request #2507)
chore: Remove no longer needed SHOW_SIGNUP_FLOW flag * chore: Remove no longer needed SHOW_SIGNUP_FLOW flag Approved-by: Anton Gunnarsson
This commit is contained in:
8
apps/scandic-web/env/server.ts
vendored
8
apps/scandic-web/env/server.ts
vendored
@@ -82,13 +82,6 @@ export const env = createEnv({
|
||||
SEAMLESS_LOGOUT_SV: z
|
||||
.string()
|
||||
.transform((s) => replaceTopLevelDomain(s, "se")),
|
||||
SHOW_SIGNUP_FLOW: z
|
||||
.string()
|
||||
// only allow "true" or "false"
|
||||
.refine((s) => s === "true" || s === "false")
|
||||
// transform to boolean
|
||||
.transform((s) => s === "true")
|
||||
.default("false"),
|
||||
WEBVIEW_ENCRYPTION_KEY: z.string(),
|
||||
GOOGLE_STATIC_MAP_KEY: z.string(),
|
||||
GOOGLE_STATIC_MAP_SIGNATURE_SECRET: z.string(),
|
||||
@@ -216,7 +209,6 @@ export const env = createEnv({
|
||||
process.env.SEAMLESS_LOGOUT || process.env.SEAMLESS_LOGOUT_NO,
|
||||
SEAMLESS_LOGOUT_SV:
|
||||
process.env.SEAMLESS_LOGOUT || process.env.SEAMLESS_LOGOUT_SV,
|
||||
SHOW_SIGNUP_FLOW: process.env.SHOW_SIGNUP_FLOW,
|
||||
WEBVIEW_ENCRYPTION_KEY: process.env.WEBVIEW_ENCRYPTION_KEY,
|
||||
GOOGLE_STATIC_MAP_KEY: process.env.GOOGLE_STATIC_MAP_KEY,
|
||||
GOOGLE_STATIC_MAP_SIGNATURE_SECRET:
|
||||
|
||||
Reference in New Issue
Block a user