Skip to content

Commit

Permalink
Merge pull request #127 from gsainfoteam/siwonpada/issue70
Browse files Browse the repository at this point in the history
  • Loading branch information
siwonpada authored Nov 22, 2024
2 parents b7d6b86 + 7463a4b commit 6a8512a
Show file tree
Hide file tree
Showing 8 changed files with 644 additions and 23 deletions.
4 changes: 4 additions & 0 deletions libs/custom-config/src/custom-config.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ export class CustomConfigService {
return this.getEnvVariable('IDP_URL');
}

get IDP_BASE_URL(): string {
return this.getEnvVariable('IDP_BASE_URL');
}

get DATABASE_URL(): string {
return this.getEnvVariable('DATABASE_URL');
}
Expand Down
4 changes: 4 additions & 0 deletions libs/custom-config/src/env.validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ export class EnvironmentVariables {
@IsNotEmpty()
IDP_URL: string;

@IsString()
@IsNotEmpty()
IDP_BASE_URL: string;

@IsString()
@IsNotEmpty()
DATABASE_URL: string;
Expand Down
Loading

0 comments on commit 6a8512a

Please sign in to comment.