Skip to content

Commit a8033db

Browse files
authored
Merge pull request #1791 from processing/bug/console-production
[#1756] Maybe fixes console in production
2 parents 502033c + ab29552 commit a8033db

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: client/utils/dispatcher.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@ export function listen(callback) {
4040
function eventListener(e) {
4141
const { data } = e;
4242

43-
if (data && e.origin === origin) {
43+
// Removing the origin check for now
44+
// I wonder if this is what is breaking production
45+
// if (data && e.origin === origin) {
46+
if (data) {
4447
notifyListener(data);
4548
}
4649
}

0 commit comments

Comments
 (0)