Change v13 to v2

GitHub-Pull-Request: https://github.com/syncthing/discosrv/pull/41
This commit is contained in:
Audrius Butkevicius 2016-04-26 20:18:37 +00:00 committed by Jakob Borg
parent 94a392144b
commit 175f65aabc

View File

@ -114,7 +114,7 @@ func (s *querysrv) Serve() {
s.listener = tlsListener
}
http.HandleFunc("/v13/", s.handler)
http.HandleFunc("/v2/", s.handler)
http.HandleFunc("/ping", handlePing)
srv := &http.Server{