1
0
mirror of https://github.com/axllent/mailpit.git synced 2025-08-13 20:04:49 +02:00

Fix: Include font/woff content type to embedded controller

This commit is contained in:
Ralph Slooten
2025-02-13 22:16:46 +13:00
parent a1d35d488d
commit 9b2e90279d

View File

@@ -71,6 +71,8 @@ func contentType(p string) string {
return "image/jpeg"
case strings.HasSuffix(p, ".gif"):
return "image/gif"
case strings.HasSuffix(p, ".woff"):
return "font/woff"
case strings.HasSuffix(p, ".woff2"):
return "font/woff2"
default: