CluPilotCloud/deploy
Claude 6082164f8b
tests / pest (push) Successful in 7m43s Details
tests / assets (push) Successful in 20s Details
tests / release (push) Successful in 5s Details
Give the status page its own hostname, and name the right one for Stripe
STATUS_HOST binds /status to a single hostname. Every other host redirects
there rather than 404ing: a status page is the one address people keep in a
bookmark and reach for when something is already wrong, so breaking old links
to prove a point about separation would be exactly backwards. Unset, nothing
changes.

The /legal/status redirect goes through route() instead of a literal path. A
relative redirect lands on whatever host the visitor is already on — which,
once the page has a hostname of its own, is precisely where it no longer
answers.

The installer told the operator to point Stripe's webhook at the customer
portal. Stripe posts server-to-server and never sees the portal; the endpoint
is the api hostname, which the installer never even asked for. It asks now, and
prints the address that actually receives the events. Getting this wrong does
not fail loudly — payments simply stop being recorded.

It also writes ADMIN_HOST_EXCLUSIVE=false on a fresh install. Switching the
console onto its own hostname before the DNS for it exists makes the console
unreachable under any other name, and that is not a thing to have on by default.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-27 08:08:57 +02:00
..
lib feat(deploy): releases you can pin to, and a version that tells the truth 2026-07-26 15:21:38 +02:00
clupilot.env.example fix(deploy): an answer file with a space in a value killed the install 2026-07-26 18:49:58 +02:00
install-agent.sh Make the console's access list reach the proxy, price in euros, and answer errors 2026-07-27 06:51:05 +02:00
install.sh Give the status page its own hostname, and name the right one for Stripe 2026-07-27 08:08:57 +02:00
update-agent.sh Make the console's access list reach the proxy, price in euros, and answer errors 2026-07-27 06:51:05 +02:00
update.sh Make the console's access list reach the proxy, price in euros, and answer errors 2026-07-27 06:51:05 +02:00