mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2025-02-20 12:19:03 +00:00
docs: better extension names parsing
This commit is contained in:
parent
631d14d887
commit
c921db7ee2
@ -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
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user