Avoid fsstat on every request, remove koa-static (#4387)

* Avoid fsstat on every request, remove koa-static

* tsx

* Move compression middleware
This commit is contained in:
Tom Moor
2022-11-05 06:50:46 -07:00
committed by GitHub
parent bac1c9dc14
commit 9936f42882
14 changed files with 36 additions and 48 deletions

View File

@@ -125,7 +125,6 @@
"koa-router": "7.4.0",
"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",
@@ -252,8 +251,8 @@
"@types/koa-logger": "^3.1.2",
"@types/koa-mount": "^4.0.1",
"@types/koa-router": "^7.4.4",
"@types/koa-send": "^4.1.3",
"@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.5",