mirror of
https://github.com/outbackdingo/certificates.git
synced 2026-01-27 10:18:34 +00:00
Fix HTTP method for /ssh/sign
This commit is contained in:
@@ -251,7 +251,7 @@ func (h *caHandler) Route(r Router) {
|
||||
r.MethodFunc("GET", "/roots", h.Roots)
|
||||
r.MethodFunc("GET", "/federation", h.Federation)
|
||||
// SSH CA
|
||||
r.MethodFunc("GET", "/ssh/sign", h.SignSSH)
|
||||
r.MethodFunc("POST", "/ssh/sign", h.SignSSH)
|
||||
r.MethodFunc("GET", "/ssh/keys", h.SSHKeys)
|
||||
|
||||
// For compatibility with old code:
|
||||
|
||||
Reference in New Issue
Block a user