repos / pico

pico services mono repo
git clone https://github.com/picosh/pico.git

commit
1e1cc0b
parent
47f9490
author
Eric Bower
date
2026-04-19 12:27:15 -0400 EDT
fix(pgs): use URL.Path so we ignore query params
1 files changed,  +1, -1
M pkg/httpcache/serve.go
+1, -1
1@@ -73,7 +73,7 @@ func (c *HttpCache) ServeHTTP(w http.ResponseWriter, r *http.Request) {
2 		return
3 	}
4 
5-	reqUri := r.URL.RequestURI()
6+	reqUri := r.URL.Path
7 	for _, uri := range c.IgnoreRoutes {
8 		if uri == reqUri {
9 			c.Upstream.ServeHTTP(w, r)