mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2025-02-22 05:09: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))
|
(config.uploads.generateThumbs.video && self.videoExts.includes(extname))
|
||||||
}
|
}
|
||||||
|
|
||||||
// Expand if necessary (must be lower case)
|
// Expand if necessary (should be case-insensitive)
|
||||||
const extPreserves = [
|
const extPreserves = [
|
||||||
/\.tar\.\w+/i // tarballs
|
/\.tar\.\w+/i // tarballs
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user