diff options
| author | Alexander Kavon <hawk@alexkavon.com> | 2023-11-28 00:45:37 -0500 |
|---|---|---|
| committer | Alexander Kavon <hawk@alexkavon.com> | 2023-11-28 00:45:37 -0500 |
| commit | 7d7059d53891bc1abb284d9b288505a5d406b307 (patch) | |
| tree | f3ae7435a0a67ce1e5c939966738fea01bb9644e /src/conf | |
| parent | d7d2b376405d91a201b8b830160458c5dd6df4a9 (diff) | |
build ui and render templates, build routes
Diffstat (limited to 'src/conf')
| -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) |
