prelaunch env var prevents the site from being operational

This commit is contained in:
2026-11-09 20:49:25 +01:00
parent 9d3dd426db
commit 79782dc778
23 changed files with 510 additions and 98 deletions
+5 -1
View File
@@ -15,11 +15,15 @@ config :chesstrainer, ChesstrainerWeb.Endpoint,
force_ssl: [
rewrite_on: [:x_forwarded_proto],
exclude: [
# paths: ["/health"],
paths: ["/health"],
hosts: ["localhost", "127.0.0.1"]
]
]
# Fail closed in production: the mailing list stays off until SES production
# access is granted and MAILING_LIST_ENABLED is set explicitly.
config :chesstrainer, :mailing_list_enabled, false
# Configure Swoosh API Client
config :swoosh, api_client: Swoosh.ApiClient.Req