diff --git a/utils/utils.go b/utils/utils.go index 55e2043..a793b79 100644 --- a/utils/utils.go +++ b/utils/utils.go @@ -344,5 +344,5 @@ func GetUrlExtension(u string) string { if err != nil { return "" } - return filepath.Ext(p.Path) + return strings.TrimLeft(filepath.Ext(p.Path), ".") }