From 777204d72f9d184e4416f943d8a1a38051dfb5ae Mon Sep 17 00:00:00 2001 From: Sebastien Douheret Date: Mon, 16 Oct 2017 18:31:15 +0200 Subject: [PATCH] Update default syncthing port to 8386 Signed-off-by: Sebastien Douheret --- agent-config.json.in | 4 ++-- lib/syncthing/st.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/agent-config.json.in b/agent-config.json.in index 0ef6d63..35d702d 100644 --- a/agent-config.json.in +++ b/agent-config.json.in @@ -3,7 +3,7 @@ "xds-apikey": "1234abcezam", "syncthing": { "home": "${HOME}/.xds/agent/syncthing-config", - "gui-address": "http://localhost:8384", + "gui-address": "http://localhost:8386", "gui-apikey": "1234abcezam" } -} \ No newline at end of file +} diff --git a/lib/syncthing/st.go b/lib/syncthing/st.go index 660738d..6199a8f 100644 --- a/lib/syncthing/st.go +++ b/lib/syncthing/st.go @@ -58,7 +58,7 @@ func NewSyncThing(conf *xdsconfig.Config, log *logrus.Logger) *SyncThing { } if url == "" { - url = "http://localhost:8384" + url = "http://localhost:8386" } if url[0:7] != "http://" { url = "http://" + url -- 2.16.6