Skip to content

Commit 8c1a68c

Browse files
committed
modified: .gitignore
modified: index.js modified: package.json
1 parent 0e782dd commit 8c1a68c

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ views/header2.ejs
55
index-temp.ejs
66
utils.js
77
WeatherApp_US_East1Key.ppk
8+
index.copy.js

index.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,7 @@ import awssdk from 'aws-sdk';
1616

1717

1818

19-
if (process.env.NODE_ENV == 'production') {
20-
// Code for AWS Production Mode
21-
getAwsSecrets();
22-
} else if (process.env.NODE_ENV === 'awsdeploy') {
19+
if (process.env.NODE_ENV === 'awsdeploy') {
2320
WEATHERBIT_URI="https://api.weatherbit.io/v2.0/";
2421
WEATHERBIT_KEY="U2FsdGVkX18HMV5UUT9rJN76hOtIHDw1bH0beQYWH8a6E7uzKqskdgHvc6Nq2lO6O+GAb2vrcL+X8ZDqcGPuLw==";
2522
console.log("AWSDEPLOY mode!");

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "TechRolEmiWeather",
33
"version": "1.0.0",
4-
"description": "",
4+
"description": "A Nodejs Express app integrating weatherbit.io APIs.",
55
"main": "index.js",
66
"type": "module",
77
"scripts": {

0 commit comments

Comments
 (0)