From 3c40c2396e71d3da87625bd8be2c19d077f94f88 Mon Sep 17 00:00:00 2001 From: Evan Chen Date: Sun, 24 Oct 2021 01:40:11 +0800 Subject: [PATCH] fix: remove build info from lib --- app.go | 1 - configui.go | 1 - templates/base/footer.tmpl | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/app.go b/app.go index ee37acb..ff3723a 100644 --- a/app.go +++ b/app.go @@ -71,7 +71,6 @@ func (cui *ConfigUI) App(w http.ResponseWriter, r *http.Request) { HideConfig: cui.HideConfig, ResultBellow: cui.ResultBellow, Version: version, - Build: build, } content := "" diff --git a/configui.go b/configui.go index 978c83c..b9bbb2a 100644 --- a/configui.go +++ b/configui.go @@ -14,7 +14,6 @@ var UNIX_SHELL = "sh" var WIN_SHELL = "cmd" const version = "0.1.2-rc1" -const build = "1a9e4c8" //go:embed templates var tmplFS embed.FS diff --git a/templates/base/footer.tmpl b/templates/base/footer.tmpl index f62c32a..506c02c 100644 --- a/templates/base/footer.tmpl +++ b/templates/base/footer.tmpl @@ -2,7 +2,7 @@