Fix Tailscale host match. Rails wraps the regexp in its own anchors and port-match.

This commit is contained in:
Jeremy Daer
2025-12-16 09:35:26 -08:00
parent 212743fe3f
commit a68bd2775d
+2 -2
View File
@@ -89,8 +89,8 @@ Rails.application.configure do
"fizzy.localhost",
"localhost",
"127.0.0.1",
/^fizzy-\d+(:\d+)?$/, # review apps: fizzy-123:3000
/\.ts\.net$/ # tailscale serve: hostname.tail1234.ts.net
/fizzy-\d+/, # review apps: fizzy-123, fizzy-456:3000
/.*\.ts\.net/, # tailscale serve: hostname.tail1234.ts.net
]
# Canonical host for mailer URLs (emails always link here, not personal Tailscale URLs)