Skip to content

fix(ticket): show the actual recovery domain instead of a hardcoded one - #75

Merged
Atesta103 merged 1 commit into
mainfrom
dev
Jul 24, 2026
Merged

fix(ticket): show the actual recovery domain instead of a hardcoded one#75
Atesta103 merged 1 commit into
mainfrom
dev

Conversation

@Atesta103

Copy link
Copy Markdown
Owner

The ticket's hint text hardcoded "Prénom + code sur waitlight.app" regardless of what recoverUrl actually pointed to — misleading on a Preview deployment (or any environment other than the one that string happened to name), and worse on a real, physical ticket someone might print or reference later.

Derives the displayed host from recoverUrl itself via hostFromUrl(), so the text always matches whatever domain the QR code and printed link actually encode.

The ticket's hint text hardcoded "Prénom + code sur waitlight.app"
regardless of what recoverUrl actually pointed to — misleading on a
Preview deployment (or any environment other than the one that string
happened to name), and worse on a real, physical ticket someone might
print or reference later.

Derives the displayed host from recoverUrl itself via hostFromUrl(),
so the text always matches whatever domain the QR code and printed
link actually encode.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@Atesta103
Atesta103 merged commit dc3414f into main Jul 24, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant