File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed
Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -5,3 +5,4 @@ views/header2.ejs
55index-temp.ejs
66utils.js
77WeatherApp_US_East1Key.ppk
8+ index.copy.js
Original file line number Diff line number Diff 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==" ;
2522console . log ( "AWSDEPLOY mode!" ) ;
Original file line number Diff line number Diff line change 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" : {
You can’t perform that action at this time.
0 commit comments