Skip to content

Commit

Permalink
Remove compress handler. Fixes #29
Browse files Browse the repository at this point in the history
  • Loading branch information
greboid committed Apr 2, 2021
1 parent bb40862 commit fef379c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
@@ -13,7 +13,6 @@ import (
"os/signal"
"time"

"github.com/gorilla/handlers"
"github.com/gorilla/mux"
"github.com/gorilla/sessions"
"github.com/kouhin/envflag"
@@ -102,7 +101,6 @@ func main() {

router := mux.NewRouter()

router.Use(handlers.CompressHandler)
router.Use(csrf.Protect(secrets.CsrfKey, csrf.SameSite(csrf.SameSiteStrictMode), csrf.Path("/")))
router.Use(SessionHandler(userManager, sessionStore))
router.Use(NewLoggingHandler(os.Stdout))

0 comments on commit fef379c

Please sign in to comment.