The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update verify-analytics-allowed-hostnames.ts
Steven Teyd109c6ff0a76
diff --git a/apps/web/lib/analytics/verify-analytics-allowed-hostnames.ts b/apps/web/lib/analytics/verify-analytics-allowed-hostnames.tsindex 2246d51b4b..151b6b9a57 100644--- a/apps/web/lib/analytics/verify-analytics-allowed-hostnames.ts+++ b/apps/web/lib/analytics/verify-analytics-allowed-hostnames.ts@@ -33,8 +33,7 @@ export const verifyAnalyticsAllowedHostnames = ({for (const domain of wildcardMatches) {// Allow only proper subdomains: ensure hostname ends with ".domain.com"- // or the hostname is exactly the domain- if (hostname.endsWith(`.${domain}`) || hostname === domain) {+ if (hostname.endsWith(`.${domain}`)) {return true;}}