Re-add "saved" message Accidentally removed it
alex wennerberg alex@alexwennerberg.com
Mon, 01 Feb 2021 18:17:25 -0800
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
http.go
→
http.go
@@ -88,6 +88,7 @@ alert := ""
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 @@ // handle user files based on subdomain or custom domains
// 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,