Simplify default middlewares setup
This commit is contained in:
@@ -116,6 +116,7 @@ func compressMiddleware() func(http.Handler) http.Handler {
|
||||
"text/plain",
|
||||
"text/css",
|
||||
"text/javascript",
|
||||
"text/event-stream",
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user