File tree Expand file tree Collapse file tree 6 files changed +10
-3
lines changed
Expand file tree Collapse file tree 6 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,8 @@ app.use(helmet.hsts({
5151app . use ( helmet . referrerPolicy ( { policy : 'strict-origin-when-cross-origin' } ) ) ;
5252
5353app . use ( morgan ( ':remote-addr :remote-user :method :url :status :res[content-length] - :response-time ms' ) ) ;
54+ app . use ( '/favicon.ico' , express . static ( './favicon.ico' ) ) ;
55+
5456app . use ( ( req , res , next ) => {
5557 res . setHeader ( 'Cache-Control' , 'no-cache' ) ;
5658 req . isCurl = IS_CURL_RE . test ( req . headers [ 'user-agent' ] ) ;
Original file line number Diff line number Diff line change @@ -173,6 +173,7 @@ ${chalk.magentaBright('Last Updated on:')} ${moment(lastUpdated).utc().format('D
173173
174174${ chalk . red . bold ( 'US STATES API' ) } : ${ chalk . blueBright ( 'https://corona-stats.online/states/us' ) }
175175${ chalk . red . bold ( 'HELP' ) } : ${ chalk . blueBright ( 'https://corona-stats.online/help' ) }
176+ ${ chalk . red . bold ( 'SPONSORED BY' ) } : ${ chalk . blueBright ( 'ZEIT NOW' ) }
176177` ;
177178
178179e . getTableBorders = minimal => {
Original file line number Diff line number Diff line change 11{
22 "name" : " coronavirus-tracker-cli" ,
3- "version" : " 0.9.1 " ,
3+ "version" : " 0.9.2 " ,
44 "description" : " track conronavirus cases from cli" ,
55 "repository" : {
66 "type" : " git" ,
2323 },
2424 "files" : [
2525 " {bin,lib}/*.js" ,
26+ " lib/country/*.js" ,
2627 " app.js"
2728 ],
2829 "engines" : {
Original file line number Diff line number Diff line change 22 Coronavirus Tracker CLI
33</h1 >
44
5+
56Track The Corona virus stats from your terminal using curl or global command.
67
78[ ![ Build Status] ( https://github.com/sagarkarira/coronavirus-tracker-cli/workflows/Tests/badge.svg )] ( https://github.com/sagarkarira/coronavirus-tracker-cli/actions?workflow=Tests )
89[ ![ Tweet] ( https://img.shields.io/twitter/url?style=social&url=https%3A%2F%2Fgithub.com%2Fsagarkarira%2Fcoronavirus-tracker-cli%2F )] ( https://img.shields.io/twitter/url?style=social&url=https%3A%2F%2Fgithub.com%2Fsagarkarira%2Fcoronavirus-tracker-cli%2F )
910
11+ ![ Sponsored By Zeit] ( ./powered-by.svg )
1012
1113** Live global stats (provided by [ fight-covid19/bagdes] ( https://github.com/fight-covid19/bagdes ) )**
1214
@@ -167,9 +169,9 @@ corona italy -g
167169* < https://github.com/ahmadawais/corona-cli >
168170* < https://github.com/ebwinters/CoronaTracker >
169171
170- ## Hosting
172+ ## Sponsored By
171173
172- * Big shoutout to [ Zeit Now] ( https://github.com/zeit/now ) .
174+ * [ Zeit Now] ( https://github.com/zeit/now ) .
173175
174176## License
175177
You can’t perform that action at this time.
0 commit comments