mirror of
https://github.com/octoleo/syncthing.git
synced 2025-01-11 02:36:17 +00:00
Change v13 to v2
GitHub-Pull-Request: https://github.com/syncthing/discosrv/pull/41
This commit is contained in:
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{
|
||||||
|
Loading…
Reference in New Issue
Block a user