Commit 4d7fef2
authored
fix: skip Matomo tracking on all localhost subdomains (#184)
## Summary
- Use `endsWith("localhost")` instead of `!== "localhost"` in the Matomo
guard so tracking is also skipped on `*.localhost` subdomains (e.g.
`myapp.localhost`), which browsers treat as local
- Aligns with the same fix applied in dfinity/icp-cli#538
## Sync recommendation
hand-written1 parent 52312f3 commit 4d7fef2
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
0 commit comments