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 13c9eda commit cd5fa7bCopy full SHA for cd5fa7b
packages/app/src/sandbox/index.js
@@ -17,7 +17,7 @@ const host = process.env.CODESANDBOX_HOST;
17
const debug = _debug('cs:sandbox');
18
19
export const SCRIPT_VERSION =
20
- document.currentScript && document.currentScript.src.replace(host + '/', '');
+ document.currentScript && document.currentScript.src;
21
22
debug('Booting sandbox');
23
0 commit comments