Upgrade e-mail config

This commit is contained in:
2023-07-09 23:08:10 -04:00
parent 5d431b81c7
commit 41c3904e85
4 changed files with 47 additions and 14 deletions

View File

@@ -59,6 +59,9 @@ let main args =
opts.Cookie.HttpOnly <- true
opts.Cookie.IsEssential <- true)
let emailCfg = cfg.GetSection "Email"
if (emailCfg.GetChildren >> Seq.isEmpty >> not) () then ConfigurationBinder.Bind(emailCfg, Email.options)
let app = builder.Build ()
// Unify the endpoints from all features