Skip to content

Commit

Permalink
Fix environment check (#33337)
Browse files Browse the repository at this point in the history
  • Loading branch information
acrollet authored Dec 4, 2024
1 parent 07917eb commit 2799915
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/monitoring/web-vitals.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const recordWebVitalsEvent = event => {

const trackWebVitals =
// Exclude production for now.
!environment.isProduction &&
!environment.isProduction() &&
// Exclude cypress containers and localhost from tracking web vitals.
environment.BASE_URL.indexOf('localhost') < 0;

Expand Down

0 comments on commit 2799915

Please sign in to comment.