Change v13 to v2
GitHub-Pull-Request: https://github.com/syncthing/discosrv/pull/41
This commit is contained in:
committed by
Jakob Borg
parent
94a392144b
commit
175f65aabc
@@ -114,7 +114,7 @@ func (s *querysrv) Serve() {
|
|||||||
s.listener = tlsListener
|
s.listener = tlsListener
|
||||||
}
|
}
|
||||||
|
|
||||||
http.HandleFunc("/v13/", s.handler)
|
http.HandleFunc("/v2/", s.handler)
|
||||||
http.HandleFunc("/ping", handlePing)
|
http.HandleFunc("/ping", handlePing)
|
||||||
|
|
||||||
srv := &http.Server{
|
srv := &http.Server{
|
||||||
|
|||||||
Reference in New Issue
Block a user