Skip to content

Commit cd5fa7b

Browse files
committed
Fix caching version
1 parent 13c9eda commit cd5fa7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/app/src/sandbox/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const host = process.env.CODESANDBOX_HOST;
1717
const debug = _debug('cs:sandbox');
1818

1919
export const SCRIPT_VERSION =
20-
document.currentScript && document.currentScript.src.replace(host + '/', '');
20+
document.currentScript && document.currentScript.src;
2121

2222
debug('Booting sandbox');
2323

0 commit comments

Comments
 (0)