Skip to content

Commit

Permalink
Modified the fix so the default is false
Browse files Browse the repository at this point in the history
  • Loading branch information
rmanaem committed Mar 18, 2024
1 parent c8e6db7 commit be94f6a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ export const nodesURL: string = baseAPIURL.endsWith('/')
? `${baseAPIURL}nodes/`
: `${baseAPIURL}/nodes/`;

export const isFederationAPI: boolean = import.meta.env.NB_IS_FEDERATION_API === 'true';
export const isFederationAPI: boolean =
import.meta.env.NB_IS_FEDERATION_API === undefined
? true
: import.meta.env.NB_IS_FEDERATION_API === 'true';

export const sexes: { [key: string]: string } = {
male: 'snomed:248153007',
Expand Down

0 comments on commit be94f6a

Please sign in to comment.