Skip to content

Commit

Permalink
Update Url type (#510)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tristan-WorkGH authored Jan 9, 2025
1 parent 42777f9 commit 26cd310
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/services/appsMetadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ import { Metadata, StudyMetadata } from '../utils';

// https://github.com/gridsuite/deployment/blob/main/docker-compose/docker-compose.base.yml
// https://github.com/gridsuite/deployment/blob/main/k8s/resources/common/config/apps-metadata.json
export type Url = string | URL;
export type UrlString = `${string}://${string}` | `/${string}` | `./${string}`;
export type Url = UrlString | URL;

export type Env = {
appsMetadataServerUrl?: Url;
Expand Down

0 comments on commit 26cd310

Please sign in to comment.