We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 533e5e8 commit 61f28c2Copy full SHA for 61f28c2
packages/codesandbox-api/src/dispatcher/index.ts
@@ -75,6 +75,7 @@ function eventListener(e: MessageEvent) {
75
data.codesandbox &&
76
(e.origin.endsWith(`.${origin}`) ||
77
e.origin.endsWith(`/${origin}`) ||
78
+ process.env.STAGING ||
79
process.env.NODE_ENV !== 'production')
80
) {
81
notifyListeners(data, e.source);
0 commit comments