Update default syncthing port to 8386
authorSebastien Douheret <sebastien.douheret@iot.bzh>
Mon, 16 Oct 2017 16:31:15 +0000 (18:31 +0200)
committerSebastien Douheret <sebastien.douheret@iot.bzh>
Mon, 16 Oct 2017 16:41:32 +0000 (18:41 +0200)
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
agent-config.json.in
lib/syncthing/st.go

index 0ef6d63..35d702d 100644 (file)
@@ -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
+}
index 660738d..6199a8f 100644 (file)
@@ -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