diff options
Diffstat (limited to 'src/conf/conf.go')
| -rw-r--r-- | src/conf/conf.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/conf/conf.go b/src/conf/conf.go index 9cf24aa..7a6dcbf 100644 --- a/src/conf/conf.go +++ b/src/conf/conf.go @@ -22,9 +22,9 @@ type ( } Server struct { - Hostname string `toml:"hostname"` - Port string `toml:"port"` - TemplatePath string `toml:"template_path"` + Hostname string `toml:"hostname"` + Port string `toml:"port"` + UiPath string `toml:"ui_path"` } ) @@ -45,7 +45,7 @@ func NewConf() *Conf { filepath, Db{}, Server{ - TemplatePath: cwd + "/ui", + UiPath: cwd + "/ui", }, } _, err = toml.DecodeFile(filepath, &c) |
