all repos — flounder @ 40770ad0c9b1946955266c1c4bc69c86b1d79ddb

A small site builder for the Gemini protocol

Limit account actions

Not really that problematic yet
alex wennerberg alex@alexwennerberg.com
Wed, 10 Feb 2021 20:54:33 -0800
commit

40770ad0c9b1946955266c1c4bc69c86b1d79ddb

parent

6c814bb3f1ed4320bc0a072caeaaac83fd653673

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

jump to
M http.gohttp.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)