Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions lib/byCountry.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,20 +140,19 @@ exports.getCountryTable = async ({
}
const lastUpdated = countryData[0].lastUpdated;
if (!isCurl) {
const template = `<!DOCTYPE html>
const template = `<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://fonts.googleapis.com/css?family=Roboto+Mono&display=swap" rel="stylesheet">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Coronavirus Tracker</title>
<style>
body {
background: #0D0208;
color: #00FF41;
background-color: #0d0208;
color: #00ff41;
}
pre {
font-family: 'Roboto Mono', monospace;
font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
white-space: pre;
}
</style>
Expand Down
13 changes: 6 additions & 7 deletions lib/corona.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,20 +161,19 @@ exports.getCompleteTable = async ({
})
const lastUpdated = countryData[0].lastUpdated;
if (!isCurl) {
const template = `<!DOCTYPE html>
const template = `<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://fonts.googleapis.com/css?family=Roboto+Mono&display=swap" rel="stylesheet">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Coronavirus Tracker</title>
<style>
body {
background: #0D0208;
color: #00FF41;
background-color: #0d0208;
color: #00ff41;
}
pre {
font-family: 'Roboto Mono', monospace;
font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
white-space: pre;
}
</style>
Expand Down