From 9814f61015668d4ebcf31ff374a0346f09dc003f Mon Sep 17 00:00:00 2001 From: Evan Date: Sun, 24 Oct 2021 15:15:21 +0800 Subject: [PATCH] docs: version --- configui.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configui.go b/configui.go index c07c557..b6ee38b 100644 --- a/configui.go +++ b/configui.go @@ -13,7 +13,7 @@ import ( var UNIX_SHELL = "sh" var WIN_SHELL = "cmd" -const version = "0.1.2-rc1" +const version = "v0.1.3" //go:embed templates var tmplFS embed.FS @@ -111,6 +111,9 @@ func (cui *ConfigUI) LoadConfig(confstr string) error { cui.NoReconfig = tmpConf.NoReconfig cui.AppName = tmpConf.AppName cui.BaseUrl = tmpConf.BaseUrl + if cui.BaseUrl == "" { + cui.BaseUrl = "/" + } // NOT implemented cui.ResultBellow = tmpConf.ResultBellow