Remove USE_EMBEDDED option - always use embedded frontend

This commit is contained in:
Christoph Haas 2026-03-22 22:08:45 +01:00
parent 4b9db2c242
commit 3e3620a24f
2 changed files with 4 additions and 17 deletions

View file

@ -14,7 +14,6 @@ type Config struct {
DBName string
Bind string
Port string
UseEmbedded bool
JWTSecret string
AdminUser string
AdminPassword string
@ -43,7 +42,6 @@ func Load() *Config {
DBName: getEnv("DB_NAME", "mailserver"),
Bind: getEnv("BIND", "0.0.0.0"),
Port: getEnv("PORT", "8080"),
UseEmbedded: getEnv("USE_EMBEDDED", "true") == "true",
JWTSecret: getEnv("JWT_SECRET", "change-this-secret-in-production"),
AdminUser: getEnv("ADMIN_USER", ""),
AdminPassword: getEnv("ADMIN_PASSWORD", ""),