From 7d7059d53891bc1abb284d9b288505a5d406b307 Mon Sep 17 00:00:00 2001 From: Alexander Kavon Date: Tue, 28 Nov 2023 00:45:37 -0500 Subject: build ui and render templates, build routes --- src/conf/conf.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/conf') 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) -- cgit v1.2.3