summaryrefslogtreecommitdiff
path: root/config.go
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2023-04-12 19:04:29 +0200
committerxengineering <me@xengineering.eu>2023-04-13 17:59:37 +0200
commitec1936c20647ba405bd2cc457c16a02dfdf56216 (patch)
treee443ae88c949e9b6e8b0f3e3c73306064d39f204 /config.go
parent4eacd5f54074c6cd73eaef4178c56843ce742445 (diff)
downloadceres-ec1936c20647ba405bd2cc457c16a02dfdf56216.tar
ceres-ec1936c20647ba405bd2cc457c16a02dfdf56216.tar.zst
ceres-ec1936c20647ba405bd2cc457c16a02dfdf56216.zip
Do not hardcode data directory
Diffstat (limited to 'config.go')
-rw-r--r--config.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.go b/config.go
index 4866b23..2c25031 100644
--- a/config.go
+++ b/config.go
@@ -15,6 +15,7 @@ type RuntimeConfig struct {
Port string `json:"bind_port"`
Static string `json:"static"`
Templates string `json:"templates"`
+ Data string `json:"data"`
}
func GetRuntimeConfig() RuntimeConfig {