File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 1- import * as keys from './keys' ;
21
32export const environment = {
43 production : true ,
54 timeTrackerApiUrl : 'https://timetracker-api.azurewebsites.net' ,
65 stackexchangeApiUrl : 'https://api.stackexchange.com' ,
76} ;
87
9- export const AUTHORITY = keys . AUTHORITY ;
10- export const CLIENT_ID = keys . CLIENT_ID ;
11- export const SCOPES = keys . SCOPES ;
8+ export const AUTHORITY = process . env [ " AUTHORITY" ] ;
9+ export const CLIENT_ID = process . env [ " CLIENT_ID" ] ;
10+ export const SCOPES = process . env [ " SCOPES" ] . split ( "," ) ;
1211export const ITEMS_PER_PAGE = 5 ;
13- export const STACK_EXCHANGE_ID = keys . STACK_EXCHANGE_ID ;
14- export const STACK_EXCHANGE_ACCESS_TOKEN = keys . STACK_EXCHANGE_ACCESS_TOKEN ;
15- export const AZURE_APP_CONFIGURATION_CONNECTION_STRING = keys . AZURE_APP_CONFIGURATION_CONNECTION_STRING ;
12+ export const STACK_EXCHANGE_ID = process . env [ " STACK_EXCHANGE_ID" ] ;
13+ export const STACK_EXCHANGE_ACCESS_TOKEN = process . env [ " STACK_EXCHANGE_ACCESS_TOKEN" ] ;
14+ export const AZURE_APP_CONFIGURATION_CONNECTION_STRING = process . env [ " AZURE_APP_CONFIGURATION_CONNECTION_STRING" ] ;
1615export const DATE_FORMAT = 'yyyy-MM-dd' ;
1716export const DATE_FORMAT_YEAR = 'YYYY-MM-DD' ;
1817export const GROUPS = {
You can’t perform that action at this time.
0 commit comments