diff --git a/cmd/syncthing/gui.go b/cmd/syncthing/gui.go index aaf9c2ed..04f38388 100644 --- a/cmd/syncthing/gui.go +++ b/cmd/syncthing/gui.go @@ -609,12 +609,15 @@ func (s *apiService) getJSMetadata(w http.ResponseWriter, r *http.Request) { } func (s *apiService) getSystemVersion(w http.ResponseWriter, r *http.Request) { - sendJSON(w, map[string]string{ + sendJSON(w, map[string]interface{}{ "version": Version, "codename": Codename, "longVersion": LongVersion, "os": runtime.GOOS, "arch": runtime.GOARCH, + "isBeta": IsBeta, + "isCandidate": IsCandidate, + "isRelease": IsRelease, }) } diff --git a/gui/default/index.html b/gui/default/index.html index c1d260e9..e2fc7167 100644 --- a/gui/default/index.html +++ b/gui/default/index.html @@ -30,7 +30,7 @@ -
+