Skip to content

Commit

Permalink
fix: Update FormSystemClient.config.ts (#17034)
Browse files Browse the repository at this point in the history
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
eirikurn and kodiakhq[bot] authored Dec 1, 2024
1 parent 65a801c commit 8140945
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions libs/clients/form-system/src/lib/FormSystemClient.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
) ?? '',
}
},
})

0 comments on commit 8140945

Please sign in to comment.