diff options
Diffstat (limited to 'internal')
-rw-r--r-- | internal/server/server.go | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/internal/server/server.go b/internal/server/server.go index f15d011..1611a7a 100644 --- a/internal/server/server.go +++ b/internal/server/server.go @@ -36,14 +36,15 @@ var ( ) type Config struct { - Production bool `conf:"default:false"` - InDevServer bool `conf:"default:false"` - LiveReload bool `conf:"default:false,flag:live"` - Root string `conf:"default:website"` - ListenAddress string `conf:"default:localhost"` - Port string `conf:"default:3000,short:p"` - BaseURL cfg.URL `conf:"default:http://localhost:3000,short:b"` - ConfigFile string `conf:"short:c"` + Production bool `conf:"default:false"` + InDevServer bool `conf:"default:false"` + LiveReload bool `conf:"default:false,flag:live"` + Root string `conf:"default:website"` + ListenAddress string `conf:"default:localhost"` + Port string `conf:"default:3000,short:p"` + BaseURL cfg.URL `conf:"default:http://localhost:3000,short:b"` + ConfigFile string `conf:"short:c"` + LogLevel slog.Level `conf:"default:INFO"` } type HTTPError struct { |