Skip to content

Commit

Permalink
strip slash
Browse files Browse the repository at this point in the history
  • Loading branch information
Wikidepia committed Jul 17, 2024
1 parent 7e8bf4f commit 08955fc
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 @@ -69,6 +69,7 @@ func main() {

r := chi.NewRouter()
r.Use(middleware.Recoverer)
r.Use(middleware.StripSlashes)
r.Mount("/debug", middleware.Profiler())

r.Get("/tv/{postID}/", handlers.Embed)
Expand Down

0 comments on commit 08955fc

Please sign in to comment.