Add simple count of views to share links (#4036)

* Add simple count of views to share links

* Remove no longer applicable tests

* Avoid incrementing view count for known bots
This commit is contained in:
Tom Moor
2022-08-31 08:16:40 +02:00
committed by GitHub
parent 212985e18f
commit 32b76303e5
9 changed files with 61 additions and 17 deletions

View File

@@ -124,6 +124,7 @@
"koa-send": "5.0.1",
"koa-sslify": "2.1.2",
"koa-static": "^4.0.1",
"koa-useragent": "^4.1.0",
"lodash": "^4.17.21",
"mammoth": "^1.4.19",
"markdown-it": "^13.0.1",
@@ -231,6 +232,7 @@
"@types/emoji-regex": "^9.2.0",
"@types/enzyme": "^3.10.10",
"@types/enzyme-adapter-react-16": "^1.0.6",
"@types/express-useragent": "^1.0.2",
"@types/formidable": "^2.0.5",
"@types/fs-extra": "^9.0.13",
"@types/fuzzy-search": "^2.1.2",
@@ -247,6 +249,7 @@
"@types/koa-router": "^7.4.4",
"@types/koa-sslify": "^2.1.0",
"@types/koa-static": "^4.0.2",
"@types/koa-useragent": "^2.1.2",
"@types/markdown-it": "^12.2.3",
"@types/markdown-it-container": "^2.0.4",
"@types/markdown-it-emoji": "^2.0.2",