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":
|
case r.Method == http.MethodGet && r.URL.Path == "/directory":
|
||||||
s.handleDirectory(w, r)
|
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":
|
case r.Method == http.MethodPost && r.URL.Path == "/acme/new-account":
|
||||||
s.handleNewAccount(ctx, w, r)
|
s.handleNewAccount(ctx, w, r)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user