flounder

A simple gemini site builder
Log | Files | Refs | README | LICENSE

commit 427348063f7b9c9eaab913ff30459b2ae957866b
parent f4e52c38b273814b3f916b0aab71900f56816123
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Thu,  4 Feb 2021 18:56:30 -0800

Add query to proxy

Diffstat:
Mproxy.go | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/proxy.go b/proxy.go @@ -40,6 +40,7 @@ func proxyGemini(w http.ResponseWriter, r *http.Request) { } else { req.URL, err = url.Parse(fmt.Sprintf("gemini://%s/", spath[1])) } + req.URL.RawQuery = r.URL.RawQuery client := gemini.Client{ Timeout: 60 * time.Second, }