Skip to content

Commit aa0ffa2

Browse files
Roaderskriswest
andauthored
Update toolbox/fdc3-conformance/src/utils.ts
Co-authored-by: Kris West <kristopher.west@natwest.com>
1 parent 6e84dec commit aa0ffa2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

toolbox/fdc3-conformance/src/utils.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,5 @@ export function appIdMatches(received: string, expected: string): boolean {
5252
return true;
5353
}
5454

55-
const host = window.location.hostname;
56-
return received === `${expected}@${host}`;
55+
return received.split('@')[0] === expected.split('@')[0];
5756
}

0 commit comments

Comments
 (0)