Remove hard-coded domains; default to localhost and env config

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
kirukib 2026-11-17 23:02:39 +03:00
parent 408b707437
commit b10c279e8a

View File

@ -271,7 +271,7 @@ function TicketsTab() {
</label>
<p className="text-xs text-muted">Paste the ticket link or token, or focus the box and scan with a handheld QR scanner.</p>
<div className="mt-2 flex gap-2">
<Input id="checkin-token" autoFocus autoComplete="off" placeholder="https://grv.ethiopiatrustfund.org/t/…" value={token} onChange={(e) => setToken(e.target.value)} />
<Input id="checkin-token" autoFocus autoComplete="off" placeholder="…/t/<token> or token" value={token} onChange={(e) => setToken(e.target.value)} />
<Button type="submit" loading={checkIn.isPending} disabled={!token.trim()}>
<ScanLine /> Check in
</Button>