diff --git a/libs/clients/form-system/src/lib/FormSystemClient.config.ts b/libs/clients/form-system/src/lib/FormSystemClient.config.ts index 85ca437a20e2..e16df31b420b 100644 --- a/libs/clients/form-system/src/lib/FormSystemClient.config.ts +++ b/libs/clients/form-system/src/lib/FormSystemClient.config.ts @@ -10,10 +10,12 @@ export const FormSystemClientConfig = defineConfig({ schema, load(env) { return { - basePath: env.required( - 'FORM_SYSTEM_API_BASE_PATH', - 'https://profun.island.is/umsoknarkerfi', - ), + // TODO: Switch to .required() when we have a value in all environments. + basePath: + env.optional( + 'FORM_SYSTEM_API_BASE_PATH', + 'https://profun.island.is/umsoknarkerfi', + ) ?? '', } }, })