summaryrefslogtreecommitdiff
path: root/config/types.go
diff options
context:
space:
mode:
Diffstat (limited to 'config/types.go')
-rw-r--r--config/types.go1
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 {