diff options
| author | Bobby <[email protected]> | 2025-12-18 17:45:14 +0530 |
|---|---|---|
| committer | Bobby <[email protected]> | 2025-12-18 17:45:14 +0530 |
| commit | 2584f8d7a0eb3bc55716f78a8bba45d524252b69 (patch) | |
| tree | 2252c904dc45d115321485e7b3f1f181834342dd /config | |
| parent | 74209da9580c7ae63898664437dc7d021010d29a (diff) | |
| download | lain-2584f8d7a0eb3bc55716f78a8bba45d524252b69.tar.xz lain-2584f8d7a0eb3bc55716f78a8bba45d524252b69.zip | |
basic bootstrapping for server start
Diffstat (limited to 'config')
| -rw-r--r-- | config/types.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/types.go b/config/types.go index a8bcf01..30c1d91 100644 --- a/config/types.go +++ b/config/types.go @@ -7,6 +7,7 @@ type ServerConfig struct { Port int `env:"SERVER_PORT" default:"8080"` AppSecret string `env:"APP_SECRET" default:"mysecret"` AllowedDomains []string `env:"ALLOWED_DOMAINS" default:"localhost"` + DevMode bool `env:"DEV_MODE" default:"true"` } type MailServerConfig struct { |
