From 2584f8d7a0eb3bc55716f78a8bba45d524252b69 Mon Sep 17 00:00:00 2001 From: Bobby <30593201+luciferreeves@users.noreply.github.com> Date: Thu, 18 Dec 2025 17:45:14 +0530 Subject: basic bootstrapping for server start --- config/types.go | 1 + 1 file changed, 1 insertion(+) (limited to 'config') 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 { -- cgit v1.2.3