docs: better extension names parsing

This commit is contained in:
Bobby Wibowo 2021-01-29 23:17:56 +07:00
parent 631d14d887
commit c921db7ee2
No known key found for this signature in database
GPG Key ID: 51C3A1E1E22D26CF

View File

@ -81,7 +81,7 @@ self.mayGenerateThumb = extname => {
(config.uploads.generateThumbs.video && self.videoExts.includes(extname))
}
// Expand if necessary (must be lower case)
// Expand if necessary (should be case-insensitive)
const extPreserves = [
/\.tar\.\w+/i // tarballs
]