mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-10-06 17:42:05 -04:00
The shipped .env has no app.allowedHostnames line, so the previous sed was a silent no-op. Since the installer sets CI_ENVIRONMENT=production, the app then fails fast on first load (App.php throws when the whitelist is empty). Append the key if it's missing, or substitute it if present.