Skip to content

Commit

Permalink
fix: Better Handle filter for tinfoil
Browse files Browse the repository at this point in the history
  • Loading branch information
DblK authored Dec 26, 2021
1 parent 7638b17 commit 887e4fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ func main() {
r.HandleFunc("/", HomeHandler)
r.HandleFunc("/games/{game}", GamesHandler)
r.HandleFunc("/{filter}", FilteringHandler)
r.HandleFunc("/{filter}/", FilteringHandler)
r.NotFoundHandler = http.HandlerFunc(notFound)
r.MethodNotAllowedHandler = http.HandlerFunc(notAllowed)
r.Use(tinfoilMiddleware)
Expand Down

0 comments on commit 887e4fe

Please sign in to comment.