Skip to content

Commit 01fd3ef

Browse files
committed
fix: TT-630 using environment variables of system
1 parent f5379e0 commit 01fd3ef

File tree

4 files changed

+7
-50
lines changed

4 files changed

+7
-50
lines changed

scripts/populate-var-file.sh

Lines changed: 0 additions & 10 deletions
This file was deleted.

scripts/setenv.ts

Lines changed: 0 additions & 33 deletions
This file was deleted.

src/environments/environment.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ export const environment = {
88
stackexchangeApiUrl: 'https://api.stackexchange.com',
99
};
1010

11-
export const AUTHORITY = process.env.AUTHORITY;
12-
export const CLIENT_ID = process.env.CLIENT_ID;
13-
export const SCOPES = process.env.SCOPES.split(",");
11+
export const AUTHORITY = process.env["AUTHORITY"];
12+
export const CLIENT_ID = process.env["CLIENT_ID"];
13+
export const SCOPES = process.env["SCOPES"].split(",");
1414
export const ITEMS_PER_PAGE = 5;
15-
export const STACK_EXCHANGE_ID = process.env.STACK_EXCHANGE_ID;
16-
export const STACK_EXCHANGE_ACCESS_TOKEN = process.env.STACK_EXCHANGE_ACCESS_TOKEN;
17-
export const AZURE_APP_CONFIGURATION_CONNECTION_STRING = process.env.AZURE_APP_CONFIGURATION_CONNECTION_STRING;
15+
export const STACK_EXCHANGE_ID = process.env["STACK_EXCHANGE_ID"];
16+
export const STACK_EXCHANGE_ACCESS_TOKEN = process.env["STACK_EXCHANGE_ACCESS_TOKEN"];
17+
export const AZURE_APP_CONFIGURATION_CONNECTION_STRING = process.env["AZURE_APP_CONFIGURATION_CONNECTION_STRING"];
1818
export const DATE_FORMAT = 'yyyy-MM-dd';
1919
export const DATE_FORMAT_YEAR = 'YYYY-MM-DD';
2020
export const GROUPS = {

webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ module.exports = (config) => {
2222
patchComponentsStyles: true
2323
});
2424
return config_;
25-
};
25+
};

0 commit comments

Comments
 (0)