diff --git a/cmd/admin.go b/cmd/admin.go
index 292226bac..618ae19fe 100644
--- a/cmd/admin.go
+++ b/cmd/admin.go
@@ -17,6 +17,7 @@ type serverConfig struct {
Lang string `json:"lang"`
Update *AppUpdate `json:"update"`
NeedsRestart bool `json:"needs_restart"`
+ Version string `json:"version"`
}
// handleGetServerConfig returns general server config.
@@ -51,6 +52,7 @@ func handleGetServerConfig(c echo.Context) error {
out.NeedsRestart = app.needsRestart
out.Update = app.update
app.Unlock()
+ out.Version = versionString
return c.JSON(http.StatusOK, okResp{out})
}
diff --git a/frontend/src/views/Settings.vue b/frontend/src/views/Settings.vue
index 40ba8964e..5697f8f63 100644
--- a/frontend/src/views/Settings.vue
+++ b/frontend/src/views/Settings.vue
@@ -3,7 +3,9 @@