diff options
Diffstat (limited to 'internal/config/config.go')
| -rw-r--r-- | internal/config/config.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/config/config.go b/internal/config/config.go index b3bc43d..662159e 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -17,6 +17,7 @@ type Config struct { // Paths DatabasePath string TemplateDir string + StaticDir string // Server Port string @@ -36,6 +37,7 @@ func Load() (*Config, error) { // Paths DatabasePath: getEnvWithDefault("DATABASE_PATH", "./dashboard.db"), TemplateDir: getEnvWithDefault("TEMPLATE_DIR", "web/templates"), + StaticDir: getEnvWithDefault("STATIC_DIR", "web/static"), // Server Port: getEnvWithDefault("PORT", "8080"), |
