Skip to content

Commit 6c812bd

Browse files
authored
fix(web): fix sentry allowlist (#1587)
1 parent 93de793 commit 6c812bd

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

web/src/main.tsx

+1-4
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,7 @@ import "focus-visible/dist/focus-visible";
1212

1313
import App from "./App";
1414

15-
if (
16-
window.location.hostname.endsWith(".laf.run") ||
17-
window.location.hostname.endsWith(".laf.dev")
18-
) {
15+
if (["laf.run", "laf.dev"].includes(window.location.hostname)) {
1916
const commitId = import.meta.env.VITE_GITHUB_SHA;
2017

2118
Sentry.init({

0 commit comments

Comments
 (0)