fixed jpg mimetype fallthrough

This commit is contained in:
dtookey 2022-08-02 10:58:10 -04:00
parent dc8cf44870
commit 03a454bf51

View File

@ -9,7 +9,7 @@ import (
)
const (
DefaultCacheTimeInMinutes = 1
DefaultCacheTimeInMinutes = 15
)
type (
@ -221,6 +221,7 @@ func GuessMimetype(filePath string) string {
case "ico":
return "image/vnd.microsoft.icon"
case "jpg":
fallthrough
case "jpeg":
return "image/jpeg"
case "js":