mirror of
https://github.com/celogeek/go-comic-converter.git
synced 2025-05-24 07:42:37 +02:00
Compare commits
2 Commits
c34a255768
...
d1a14d3489
Author | SHA1 | Date | |
---|---|---|---|
|
d1a14d3489 | ||
aabea6fb12 |
@ -47,7 +47,7 @@ func (e EPUBImageProcessor) isSupportedImage(path string) bool {
|
||||
switch strings.ToLower(filepath.Ext(path)) {
|
||||
case ".jpg", ".jpeg", ".png", ".webp", ".tiff":
|
||||
{
|
||||
return true
|
||||
return !strings.HasPrefix(filepath.Base(path), ".")
|
||||
}
|
||||
}
|
||||
return false
|
||||
|
@ -15,4 +15,5 @@ img {
|
||||
margin:0;
|
||||
padding:0;
|
||||
z-index:0;
|
||||
}
|
||||
object-fit: contain;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user