all repos — flounder @ 427348063f7b9c9eaab913ff30459b2ae957866b

A small site builder for the Gemini protocol

Add query to proxy
alex wennerberg alex@alexwennerberg.com
Thu, 04 Feb 2021 18:56:30 -0800
commit

427348063f7b9c9eaab913ff30459b2ae957866b

parent

f4e52c38b273814b3f916b0aab71900f56816123

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M proxy.goproxy.go

@@ -40,6 +40,7 @@ req.URL, err = url.Parse(fmt.Sprintf("gemini://%s/%s", spath[1], spath[2]))

} 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, }