Open
Description
I'm porting some existing code from using net/http to using gin. Unfortunately gin breaks all the relative links in the existing HTML templates by stripping off the trailing slash from URLs. It does this even if I set r.RedirectTrailingSlash = false using:
r := gin.Default()
r.SetTrustedProxies(nil)
r.RedirectTrailingSlash = false
Any ideas how I prevent gin from doing this?
Metadata
Metadata
Assignees
Labels
No labels
Activity