Skip to content

Commit 3af12dc

Browse files
committed
added favicon and zeit sponspor in footer
1 parent ccb949f commit 3af12dc

File tree

6 files changed

+10
-3
lines changed

6 files changed

+10
-3
lines changed

app.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ app.use(helmet.hsts({
5151
app.use(helmet.referrerPolicy({ policy: 'strict-origin-when-cross-origin' }));
5252

5353
app.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+
5456
app.use((req, res, next) => {
5557
res.setHeader('Cache-Control', 'no-cache');
5658
req.isCurl = IS_CURL_RE.test(req.headers['user-agent']);

favicon.ico

1.12 KB
Binary file not shown.

lib/helpers.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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

178179
e.getTableBorders = minimal => {

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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",
@@ -23,6 +23,7 @@
2323
},
2424
"files": [
2525
"{bin,lib}/*.js",
26+
"lib/country/*.js",
2627
"app.js"
2728
],
2829
"engines": {

powered-by.svg

Lines changed: 1 addition & 0 deletions
Loading

readme.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@
22
Coronavirus Tracker CLI
33
</h1>
44

5+
56
Track 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

0 commit comments

Comments
 (0)