This commit is contained in:
3
main.go
3
main.go
@@ -501,6 +501,9 @@ func (s *server) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
||||
case r.Method == http.MethodGet && r.URL.Path == "/directory":
|
||||
s.handleDirectory(w, r)
|
||||
|
||||
case r.Method == http.MethodGet && r.URL.Path == "/acme/directory":
|
||||
s.handleDirectory(w, r)
|
||||
|
||||
case r.Method == http.MethodPost && r.URL.Path == "/acme/new-account":
|
||||
s.handleNewAccount(ctx, w, r)
|
||||
|
||||
|
Reference in New Issue
Block a user