fix: relay_server port configuration

This commit is contained in:
Henri Bourcereau 2026-07-28 13:21:39 +02:00
parent 9c13630c7d
commit a59d9f61e2
2 changed files with 7 additions and 2 deletions

View file

@ -202,6 +202,7 @@ in
DATABASE_URL = "postgresql://${cfg.user}@127.0.0.1/${cfg.user}";
APP_URL = "${cfg.protocol}://${cfg.hostname}";
PAGES_DIR = cfg.pages_dir;
RELAY_PORT = toString cfg.apiPort;
SMTP_HOST = cfg.smtp.host;
SMTP_PORT = toString (if cfg.smtp.port != null then cfg.smtp.port
else if cfg.smtp.tls then 465 else 1025);