feat: add "disable image resolution calculation" flag (#5638)

This commit is contained in:
Ariel Leyva 2025-12-29 02:25:49 -05:00 committed by GitHub
parent 1faa21844f
commit a2d80c62c1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 28 additions and 11 deletions

View file

@ -41,6 +41,7 @@ var withHashFile = func(fn handleFunc) handleFunc {
Modify: d.user.Perm.Modify,
Expand: false,
ReadHeader: d.server.TypeDetectionByHeader,
CalcImgRes: d.server.TypeDetectionByHeader,
Checker: d,
Token: link.Token,
})