From 21a45de2e59643b2cf3341a0107f52c55638f8ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Filipowicz?= Date: Tue, 28 Nov 2023 20:40:21 +0100 Subject: [PATCH] updated wildcardPath --- gateway/router.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gateway/router.go b/gateway/router.go index 0df2c417..a911c8e6 100644 --- a/gateway/router.go +++ b/gateway/router.go @@ -422,7 +422,7 @@ func (r *Router) NewContentRoute(aPath *path.Path) []*Route { func wildcardPath(aPath *path.Path) *path.Path { ret := *aPath - if !strings.HasSuffix(ret.URI, "/*") { + if !strings.HasSuffix(ret.URI, "*") { if !strings.HasSuffix(ret.URI, "/") { ret.URI += "/" }