flounder

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

commit 79daa8d529197d67dfbc7d81cc57a9419a3a55d5
parent b945be6eb205deea2c68eddb27f1f1de8a39b43f
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Tue, 26 Jan 2021 20:25:35 -0800

fix bug on proxy suffix

Diffstat:
Mproxy.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/proxy.go b/proxy.go @@ -122,7 +122,7 @@ func proxyGemini(w http.ResponseWriter, r *http.Request) { PageTitle string URI *url.URL Config Config - }{template.HTML(htmlString), "", r.URL.String(), r.URL, c} + }{template.HTML(htmlString), "", r.URL.String(), req.URL, c} err = t.ExecuteTemplate(w, "user_page.html", data) if err != nil {