Openstatus www.openstatus.dev
6
fork

Configure Feed

Select the types of activity you want to include in your feed.

๐Ÿ› Fix regex (#162)

* ๐Ÿ•ต๏ธ add analytics

* ๐Ÿ› regex

authored by

Thibault Le Ouay and committed by
GitHub
8f5fc776 25e614a6

+1 -1
+1 -1
apps/web/src/app/_components/analytics.tsx
··· 17 17 beforeSend={(event) => { 18 18 console.log(event); 19 19 // Ignore all events that have a `/private` inside the URL 20 - if (event.url.match("https://((?!www).*).openstatus.dev")) { 20 + if (event.url.match(/https:\/\/((?!www).*)\.openstatus\.dev/)) { 21 21 return { 22 22 ...event, 23 23 url: `/status-page/${getSubdomain(event.url)}`,