From 266189e7b417487b64bd8a2723f1194331f7dd87 Mon Sep 17 00:00:00 2001 From: Anthony Ettinger Date: Sun, 8 Nov 2026 17:52:44 +0000 Subject: [PATCH] Accept the pwa.pit.world host in the inviteRules.ts host regex The domain sweep left regex-escaped old hosts alone; this one still matched only the retired domain. Co-Authored-By: Claude Opus 5.5 --- src/lib/inviteRules.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/inviteRules.ts b/src/lib/inviteRules.ts index 8bc275f..c280393 100644 --- a/src/lib/inviteRules.ts +++ b/src/lib/inviteRules.ts @@ -132,7 +132,7 @@ export function looksLikeInviteCode(value: unknown): value is string { return body.length === 12 } -const ALLOWED_HOSTS = /^(?:www\.)?saasrow\.com$|^localhost(?::\d+)?$|^127\.0\.0\.1(?::\d+)?$/ +const ALLOWED_HOSTS = /^(?:www\.)?saasrow\.com$|^saasrow\.pwa\.pit\.world$|^localhost(?::\d+)?$|^127\.0\.0\.1(?::\d+)?$/ /** * The site origin for links we hand out, from the request's own host (so a