Openstatus www.openstatus.dev
6
fork

Configure Feed

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

๐Ÿ› regex (#163)

authored by

Thibault Le Ouay and committed by
GitHub
2108e511 8f5fc776

+3 -1
+3 -1
apps/web/src/app/_components/analytics.tsx
··· 20 20 if (event.url.match(/https:\/\/((?!www).*)\.openstatus\.dev/)) { 21 21 return { 22 22 ...event, 23 - url: `/status-page/${getSubdomain(event.url)}`, 23 + url: `https://www.openstatus.dev/status-page/${getSubdomain( 24 + event.url, 25 + )}`, 24 26 }; 25 27 } 26 28 return event;