diff --git a/routers/web/pages/pages.go b/routers/web/pages/pages.go index e8fc1ae743..37e81ef7ec 100644 --- a/routers/web/pages/pages.go +++ b/routers/web/pages/pages.go @@ -11,8 +11,8 @@ import ( "fmt" "html/template" "image" - _ "image/jpeg" - _ "image/png" + _ "image/jpeg" // register JPEG decoder for social card background images + _ "image/png" // register PNG decoder for social card background images "io" "math/big" "net/http"