better filetype validation, support pdf/cbz/cbr/html/txt

This commit is contained in:
daniel-j
2020-08-12 23:10:04 +02:00
parent 372e042f72
commit a2b2bf0aaf
4 changed files with 114 additions and 16 deletions

View File

@@ -11,6 +11,7 @@
"dependencies": {
"@koa/multer": "^3.0.0",
"@koa/router": "^9.3.1",
"file-type": "^14.7.1",
"koa": "^2.13.0",
"koa-logger": "^3.2.1",
"koa-sendfile": "^2.0.1",