From 5094cddf81fc51897f1ec4f0b092d9793a979d3f Mon Sep 17 00:00:00 2001 From: Arif Hasanic Date: Sat, 11 Jul 2026 17:50:13 +0200 Subject: [PATCH] only send data to faro from server (local host check) --- src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.tsx b/src/App.tsx index e0debd2..1a8a02d 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -10,7 +10,7 @@ import Dashboard from "@/components/Dashboard/Dashboard"; function App() { const isProduction = import.meta.env.PROD; - if (isProduction) { + if (isProduction && window.location.hostname === "localhost") { console.debug("Initializing Faro environment..."); initializeFaro({