diff --git a/vinegarUtil/webLRU.go b/vinegarUtil/webLRU.go index 5382414..362f6d5 100644 --- a/vinegarUtil/webLRU.go +++ b/vinegarUtil/webLRU.go @@ -231,6 +231,8 @@ func GuessMimetype(filePath string) string { return "image/png" case "svg": return "image/svg+xml" + case "webp": + return "image/webp" default: log.Default().Printf("[WARN] '%s' is unrecognized MimeType. Returning as [application/octet-stream]. Please use VinegarServlet.AddMimeType() to define the appropriate response for this file extension.", ext) return "application/octet-stream"