Skip to content

Commit 0d262f5

Browse files
author
Andrew Evans
committed
environment variables
1 parent c607e42 commit 0d262f5

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"code-coverage": "npm run delete-coverage && npm run coverage-report",
1717
"build-prod": "ng build --prod",
1818
"test-prod": "ng test --watch=false",
19-
"firebase-deploy": "firebase deploy"
19+
"firebase-deploy": "firebase deploy",
20+
"environment-variables": "python scripts/environment_variables.py $OPEN_WEATHER_MAP_API_KEY"
2021
},
2122
"private": true,
2223
"dependencies": {

src/environments/environment.prod.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export const environment = {
22
production: true,
3-
openWeatherMapAPIKey: 'goose',
3+
openWeatherMapAPIKey: 'open_weather_map_api_key',
44
noaaMetaDataEndpoint: 'https://api.weather.gov/points/'
55
};

src/environments/environment.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
export const environment = {
66
production: false,
7-
openWeatherMapAPIKey: 'goose',
7+
openWeatherMapAPIKey: 'open_weather_map_api_key',
88
noaaMetaDataEndpoint: 'https://api.weather.gov/points/'
99
};
1010

0 commit comments

Comments
 (0)