Skip to content

Commit 178cfc5

Browse files
committed
Allowlist urls for error tracking
1 parent ad1fc4a commit 178cfc5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

assets/error-tracking.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ if (!/localhost/i.test(location.hostname)) {
88
environment:
99
location.hostname === 'busrouter.sg' ? 'production' : 'development',
1010
debug: /localhost/i.test(location.hostname),
11+
allowUrls: [/busrouter\.sg/, /localhost/],
1112
});
1213
}

0 commit comments

Comments
 (0)