u
Anirudh Oppiliappan x@icyphox.sh
Tue, 26 Sep 2023 00:27:50 +0300
1 files changed,
3 insertions(+),
1 deletions(-)
jump to
M
masto.go
→
masto.go
@@ -26,7 +26,9 @@ rw.Write(j.ToBytes())
} func showoauthlogin(rw http.ResponseWriter, r *http.Request) { - if err := readviews.Execute(rw, "oauthlogin.html", ""); err != nil { + templinfo := make(map[string]interface{}) + templinfo = getInfo(r) + if err := readviews.Execute(rw, "oauthlogin.html", templinfo); err != nil { elog.Println(err) } }