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