all repos — flounder @ 7052b40538b59228f4ad763396682b8989ec0ceb

A small site builder for the Gemini protocol

notes
alex wennerberg alex@alexwennerberg.com
Sat, 24 Oct 2020 01:32:29 -0700
commit

7052b40538b59228f4ad763396682b8989ec0ceb

parent

5c687e0a49cd53db58b2a13728594c7460000443

1 files changed, 3 insertions(+), 0 deletions(-)

jump to
M http.gohttp.go

@@ -187,9 +187,12 @@

serveMux.HandleFunc(c.RootDomain+"/", rootHandler) serveMux.HandleFunc(c.RootDomain+"/my_site", mySiteHandler) serveMux.HandleFunc(c.RootDomain+"/edit/", editFileHandler) + // serveMux.HandleFunc(c.RootDomain+"/upload/", uploadFilesHandler) serveMux.HandleFunc(c.RootDomain+"/login", loginHandler) serveMux.HandleFunc(c.RootDomain+"/register", registerHandler) serveMux.HandleFunc(c.RootDomain+"/delete/", deleteFileHandler) + + // TODO rate limit login https://github.com/ulule/limiter wrapped := handlers.LoggingHandler(os.Stdout, serveMux)