Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
alaingilbert committed Aug 23, 2020
1 parent f2aabb1 commit 043d3e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down

0 comments on commit 043d3e0

Please sign in to comment.