Limit account actions Not really that problematic yet
alex wennerberg alex@alexwennerberg.com
Wed, 10 Feb 2021 20:54:33 -0800
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
http.go
→
http.go
@@ -783,7 +783,7 @@ hostname := s[0]
serveMux.HandleFunc(hostname+"/", rootHandler) serveMux.HandleFunc(hostname+"/my_site", mySiteHandler) - serveMux.HandleFunc(hostname+"/me", myAccountHandler) + serveMux.HandleFunc(hostname+"/me", limit(myAccountHandler)) serveMux.HandleFunc(hostname+"/my_site/flounder-archive.zip", archiveHandler) serveMux.HandleFunc(hostname+"/admin", adminHandler) serveMux.HandleFunc(hostname+"/edit/", editFileHandler)