Skip to content

Commit aa4be62

Browse files
committed
Prevent search engine indexing
1 parent 2e68cf0 commit aa4be62

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
## [1.2.1] (2021-10-14)
1+
## [1.2.1] (2021-10-19)
22

33
### Bug Fixes
44

55
* **trader:** correctly identifies cross margin pairs.
66
* **trader:** shut down with error exit code.
7+
* **trader:** prevent search engine indexing.
78

89
## [1.2.0] (2021-10-02)
910

src/trader/http.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@ function authenticate(req: any, res: any): boolean {
227227

228228
function formatHTML(page: Pages, data: any, current?: number): string {
229229
let html = `<html><head><title>NBT: ${page.replace("<br />", " ")}</title>`
230+
html += `<meta name="robots" content="noindex">`
230231
html += `<link rel="icon" href="/img/favicon.svg" type="image/svg+xml">`
231232
html += `<link rel="stylesheet" href="css/main.css">`
232233
html += `</head><body>`

src/trader/http/graph.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<html>
22
<head>
33
<title>NBT: Graphs</title>
4+
<meta name="robots" content="noindex">
45
<link rel="icon" href="/img/favicon.svg" type="image/svg+xml">
56
<link rel="stylesheet" href="css/main.css">
67
<link rel="stylesheet" href="css/graph.css">

0 commit comments

Comments
 (0)