Compare commits
1 Commits
7db4594bbe
...
9814f61015
Author | SHA1 | Date |
---|---|---|
Evan | 9814f61015 |
|
@ -13,7 +13,7 @@ import (
|
||||||
var UNIX_SHELL = "sh"
|
var UNIX_SHELL = "sh"
|
||||||
var WIN_SHELL = "cmd"
|
var WIN_SHELL = "cmd"
|
||||||
|
|
||||||
const version = "0.1.2-rc1"
|
const version = "v0.1.3"
|
||||||
|
|
||||||
//go:embed templates
|
//go:embed templates
|
||||||
var tmplFS embed.FS
|
var tmplFS embed.FS
|
||||||
|
@ -111,6 +111,9 @@ func (cui *ConfigUI) LoadConfig(confstr string) error {
|
||||||
cui.NoReconfig = tmpConf.NoReconfig
|
cui.NoReconfig = tmpConf.NoReconfig
|
||||||
cui.AppName = tmpConf.AppName
|
cui.AppName = tmpConf.AppName
|
||||||
cui.BaseUrl = tmpConf.BaseUrl
|
cui.BaseUrl = tmpConf.BaseUrl
|
||||||
|
if cui.BaseUrl == "" {
|
||||||
|
cui.BaseUrl = "/"
|
||||||
|
}
|
||||||
|
|
||||||
// NOT implemented
|
// NOT implemented
|
||||||
cui.ResultBellow = tmpConf.ResultBellow
|
cui.ResultBellow = tmpConf.ResultBellow
|
||||||
|
|
Loading…
Reference in New Issue