Open-source status page, incident response and uptime monitoring
TypeScript alertingincident-managementmcpmcp-servermonitoringmonitoring-as-codeobservabilityon-callopen-sourcesrestatus-pagestatuspagesynthetic-monitoringterraformtinybirdtursouptimeuptime-checkeruptime-monitor
🐛 Fix regex (#162)
Thibault Le Ouay8f5fc7760e0c
diff --git a/apps/web/src/app/_components/analytics.tsx b/apps/web/src/app/_components/analytics.tsxindex 09118afdf..6afcfd019 100644--- a/apps/web/src/app/_components/analytics.tsx+++ b/apps/web/src/app/_components/analytics.tsx@@ -17,7 +17,7 @@ export const ClientAnalytics = () => {beforeSend={(event) => {console.log(event);// Ignore all events that have a `/private` inside the URL- if (event.url.match("https://((?!www).*).openstatus.dev")) {+ if (event.url.match(/https:\/\/((?!www).*)\.openstatus\.dev/)) {return {...event,url: `/status-page/${getSubdomain(event.url)}`,