get-hosts fixes

This commit is contained in:
max furman 2019-10-26 17:40:26 -07:00
parent 5616386eed
commit 862d704f6b
3 changed files with 4 additions and 5 deletions

View file

@ -257,7 +257,7 @@ func (h *caHandler) Route(r Router) {
r.MethodFunc("POST", "/ssh/config", h.SSHConfig)
r.MethodFunc("POST", "/ssh/config/{type}", h.SSHConfig)
r.MethodFunc("POST", "/ssh/check-host", h.SSHCheckHost)
r.MethodFunc("POST", "/ssh/get-hosts", h.SSHGetHosts)
r.MethodFunc("GET", "/ssh/get-hosts", h.SSHGetHosts)
// For compatibility with old code:
r.MethodFunc("POST", "/re-sign", h.Renew)