mirror of
https://github.com/celogeek/go-comic-converter.git
synced 2025-05-25 16:22:37 +02:00
Compare commits
No commits in common. "d1a14d3489b46bb1c6152d8dad5bdce621525f47" and "c34a2557681b5201e478583649ee59ddf7544a78" have entirely different histories.
d1a14d3489
...
c34a255768
@ -47,7 +47,7 @@ func (e EPUBImageProcessor) isSupportedImage(path string) bool {
|
|||||||
switch strings.ToLower(filepath.Ext(path)) {
|
switch strings.ToLower(filepath.Ext(path)) {
|
||||||
case ".jpg", ".jpeg", ".png", ".webp", ".tiff":
|
case ".jpg", ".jpeg", ".png", ".webp", ".tiff":
|
||||||
{
|
{
|
||||||
return !strings.HasPrefix(filepath.Base(path), ".")
|
return true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return false
|
return false
|
||||||
|
@ -15,5 +15,4 @@ img {
|
|||||||
margin:0;
|
margin:0;
|
||||||
padding:0;
|
padding:0;
|
||||||
z-index:0;
|
z-index:0;
|
||||||
object-fit: contain;
|
}
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user