Skip to content

Commit a1c9051

Browse files
save file
1 parent 4e3d753 commit a1c9051

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

utils/editors/js-console/html/output-console/v3.0/output-console-v3.0.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137

138138
var iframe;
139139
obj.iframe;
140-
var sandbox_url = 'https://sandbox-ext-code-com-1024713184986.us-central1.run.app/js-sandbox/js-sandbox.html';
140+
var sandbox_url = 'https://sandbox.ext-code.com/js-sandbox/js-sandbox.html';
141141
var sandbox_def = 'allow-scripts allow-same-origin allow-forms allow-downloads allow-pointer-lock';
142142
var sandbox_allow = `clipboard-write; clipboard-read; camera; microphone; geolocation; accelerometer; gyroscope; magnetometer; payment; usb; serial; bluetooth;
143143
xr-spatial-tracking; autoplay; encrypted-media; picture-in-picture; screen-wake-lock; web-share`;
@@ -408,12 +408,13 @@
408408
clear();
409409
}
410410

411+
var echo = chk['console-echo'].checked;
411412

412413
if(params.async){
413414
js = '(async()=>{\n'+js+'\n})()';
414415
}
415416

416-
iframe.contentWindow.postMessage({type:'run',js},'*');
417+
iframe.contentWindow.postMessage({type:'run',js,echo},'*');
417418
//var result = await win.eval(js);
418419

419420

0 commit comments

Comments
 (0)