vektor icon indicating copy to clipboard operation
vektor copied to clipboard

Accept connections with or without trailing slash

Open ospencer opened this issue 3 years ago • 0 comments

Whether or not a request can be handled with a trailing slash is up to the user, but Vektor should handle both.

For example, it's common to do something like:

build := vk.Group("/build")
build.GET("/", ...)

In this case, requests must be made to /build/ rather than /build. Vektor should accept both.

ospencer avatar May 19 '22 18:05 ospencer