diff --git a/configEditor.go b/configEditor.go index a1853cf..92355b7 100644 --- a/configEditor.go +++ b/configEditor.go @@ -59,11 +59,13 @@ func registerEditorFrontend() { KnownEvents []*string TemplateFunctions []string TwitchClientID string + Version string }{ IRCBadges: twitch.KnownBadges, KnownEvents: knownEvents, TemplateFunctions: tplFuncs.GetFuncNames(), TwitchClientID: cfg.TwitchClient, + Version: version, }); err != nil { http.Error(w, err.Error(), http.StatusInternalServerError) } diff --git a/src/app.vue b/src/app.vue index cced348..9871616 100644 --- a/src/app.vue +++ b/src/app.vue @@ -112,6 +112,21 @@ Disconnected from Bot + + + + + Version: {{ $root.vars.Version }} + +