flounder

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

commit 461036c5579c4f9e23c45e8d15499eea089b4f1c
parent 5cdcf08e2ddf5f8fc488a52de2349ddbe133139e
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Mon,  1 Feb 2021 18:17:25 -0800

Re-add "saved" message

Accidentally removed it

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

diff --git a/http.go b/http.go @@ -88,6 +88,7 @@ func editFileHandler(w http.ResponseWriter, r *http.Request) { var warnings []string if r.Method == "POST" { // get post body + alert = "saved" r.ParseForm() fileText := r.Form.Get("file_text") // Web form by default gives us CR LF newlines. @@ -766,7 +767,6 @@ func runHTTPServer() { // also routes to proxy serveMux.HandleFunc("proxy."+hostname+"/", proxyGemini) serveMux.HandleFunc("/", userFile) - // login+register functions srv := &http.Server{ ReadTimeout: 5 * time.Second, WriteTimeout: 10 * time.Second,