flounder

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

commit 376e8ed93ce9a9f3b8e56de4f49be96458fde336
parent 1797882f7297f7b80c3f94b1fa06d163ccd9dee8
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Sun, 24 Jan 2021 23:36:21 -0800

fix proxy bug

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

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