From 175f65aabc4a4a854ceeaabb621befc01d49aa40 Mon Sep 17 00:00:00 2001 From: Audrius Butkevicius Date: Tue, 26 Apr 2016 20:18:37 +0000 Subject: [PATCH] Change v13 to v2 GitHub-Pull-Request: https://github.com/syncthing/discosrv/pull/41 --- cmd/discosrv/querysrv.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/discosrv/querysrv.go b/cmd/discosrv/querysrv.go index 8ab5a61a2..f14d46a5d 100644 --- a/cmd/discosrv/querysrv.go +++ b/cmd/discosrv/querysrv.go @@ -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{