Skip to content

Commit a421ee9

Browse files
authored
Merge pull request #639 from neo4j-labs/fix/sonarHot
Fix sonar
2 parents 7aee4a6 + cb94aca commit a421ee9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import './index.pcss';
1111
import StyleConfig from './config/StyleConfig';
1212
import * as Sentry from '@sentry/react';
1313

14-
if (window.location.href == 'https://neodash.graphapp.io/' || window.location.href == 'http://neodash.graphapp.io/') {
14+
if (window.location.href.includes('//neodash.graphapp.io/')) {
1515
Sentry.init({
1616
dsn: 'https://[email protected]/4505397810167808',
1717
allowUrls: [/^https:\/\/neodash\.graphapp\.io/, /^http:\/\/neodash\.graphapp\.io/],

0 commit comments

Comments
 (0)