From 043d3e0c965a5de12b5c2ea5a43660bf652efb1b Mon Sep 17 00:00:00 2001 From: Alain Gilbert Date: Sun, 23 Aug 2020 18:00:42 -0400 Subject: [PATCH] fix typo --- handlers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers.go b/handlers.go index 61a7399b..feba0b72 100644 --- a/handlers.go +++ b/handlers.go @@ -939,7 +939,7 @@ func GetStaticHandler(c echo.Context) error { if strings.Contains(newURL, ".css") { contentType = "text/css" } else if strings.Contains(newURL, ".js") { - contentType = "text/javascript" + contentType = "application/javascript" } else if strings.Contains(newURL, ".gif") { contentType = "image/gif" }