From 981d5895237d59359f90e77e53820c49edf3aa43 Mon Sep 17 00:00:00 2001 From: Flo Date: Sun, 1 Nov 2026 11:19:55 +0100 Subject: [PATCH] chore: add environment files --- angular.json | 6 ++++++ src/environments/environment.prod.ts | 4 ++++ src/environments/environment.ts | 4 ++++ 3 files changed, 14 insertions(+) create mode 100644 src/environments/environment.prod.ts create mode 100644 src/environments/environment.ts diff --git a/angular.json b/angular.json index 09888dd..64f96fc 100644 --- a/angular.json +++ b/angular.json @@ -40,6 +40,12 @@ "maximumError": "8kB" } ], + "fileReplacements": [ + { + "replace": "src/environments/environment.ts", + "with": "src/environments/environment.prod.ts" + } + ], "outputHashing": "all" }, "development": { diff --git a/src/environments/environment.prod.ts b/src/environments/environment.prod.ts new file mode 100644 index 0000000..9f6ff9b --- /dev/null +++ b/src/environments/environment.prod.ts @@ -0,0 +1,4 @@ +export const environment = { + production: true, + resourceUrl: 'https://raw.githubusercontent.com/NCI-CBIIT/FHH/master/data/diseases.json', +}; diff --git a/src/environments/environment.ts b/src/environments/environment.ts new file mode 100644 index 0000000..fe5c5de --- /dev/null +++ b/src/environments/environment.ts @@ -0,0 +1,4 @@ +export const environment = { + production: false, + resourceUrl: 'https://raw.githubusercontent.com/NCI-CBIIT/FHH/master/data/diseases.json', +};