Skip to content

Commit fff47aa

Browse files
committed
Update worker-channel.js
1 parent e06beeb commit fff47aa

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

worker/worker-channel.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,14 @@ async function setupWorkerChannel() {
117117

118118
}
119119

120+
if (window.location.hostname === 'dev.codeit.codes') {
121+
122+
workerChannel.postMessage({
123+
type: 'updateWorker'
124+
});
125+
126+
}
127+
120128
});
121129

122130
}

0 commit comments

Comments
 (0)