Skip to content

Commit e0f8a8e

Browse files
author
sanex3339
committed
Added parameter to reset webworker from cache
1 parent 4d2e3e5 commit e0f8a8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

App/actions/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as types from '../constants/ActionTypes';
22

3-
const obfuscationWorker = new Worker('../workers/obfuscation-worker.js');
3+
const obfuscationWorker = new Worker('../workers/obfuscation-worker.js?v=' + new Date().getTime());
44

55
export const updateCode = (code) => ({
66
'type': types.UPDATE_CODE,

0 commit comments

Comments
 (0)