fix: keep Flatlogic's internal preview domain in ALLOWED_HOSTS

The 29 May incident recovery added fox-fitt-payroll-7de4.dev.flatlogic.app
to ALLOWED_HOSTS as a VM-side Flatlogic-editor autosave (commit 98f66e9,
broken indentation). The 12 Jun audit deploy's git reset --hard discarded
it, which would 400 the platform's preview iframe. Committed properly so
it survives every future reset-based deploy.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Konrad du Plessis 2026-06-12 22:27:08 +02:00
parent e3e5bdeb78
commit abfae69606

View File

@ -51,6 +51,11 @@ ALLOWED_HOSTS = [
"127.0.0.1",
"localhost",
"foxlog.flatlogic.app",
# Flatlogic's internal preview domain for this app — the platform's
# dashboard iframe loads the site through it. First added 29 May 2026
# as a VM-side autosave edit during the incident recovery; committed
# properly here so it survives `git reset --hard` deploys.
"fox-fitt-payroll-7de4.dev.flatlogic.app",
os.getenv("HOST_FQDN", ""),
]