diff --git a/config/settings.py b/config/settings.py index 1a79554..82241c4 100644 --- a/config/settings.py +++ b/config/settings.py @@ -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", ""), ]