Added error logging

This commit is contained in:
Leon Mika 2026-03-05 22:37:11 +11:00
parent 1b24386001
commit 891d904d9c
3 changed files with 19 additions and 2 deletions

View file

@ -9,7 +9,7 @@ import (
type Config struct {
DataDir string `env:"DATA_DIR"`
ScratchDir string `env:"SCRATCH_DIR"`
ScratchDir string `env:"SCRATCH_DIR,default=/tmp"`
SiteDomain string `env:"SITE_DOMAIN"`
LoginLocked bool `env:"LOGIN_LOCKED,default=false"`
Env string `env:"ENV,default=prod"`