Skip to content

Commit 75d8ecd

Browse files
Fix lint error @microsoft/sdl/no-postmessage-star-origin
1 parent 4161404 commit 75d8ecd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

utils/resize-listener.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class ResizeListener {
66
window.parent.postMessage({
77
type: 'frame-height',
88
height: entry.contentRect.height,
9-
}, '*');
9+
}, window.location.origin);
1010
}
1111
});
1212
});

0 commit comments

Comments
 (0)