Skip to content

Commit 7945d23

Browse files
author
Ives van Hoorne
committed
Allow local testing in LOCAL_SERVER scenarios
1 parent 7f82c4d commit 7945d23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sandbox/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import setupHistoryListeners from './url-listeners';
1111
import compile from './compile';
1212

1313
function getId() {
14-
if (process.env.NODE_ENV === 'test') {
14+
if (process.env.LOCAL_SERVER) {
1515
return document.location.hash.replace('#', '');
1616
}
1717

0 commit comments

Comments
 (0)