From b8a570fa33a234adc3800aa8a202690bdaf5e817 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joan=20Guill=C3=A9n=20i=20Pelegay?= Date: Tue, 5 Dec 2023 01:14:43 +0100 Subject: [PATCH] Testing workaround for https keepalive problem --- run/index.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/run/index.html b/run/index.html index 0e5ca09..5d82eb4 100644 --- a/run/index.html +++ b/run/index.html @@ -67,8 +67,11 @@ world = new WorldMorph(document.getElementById('world')); // keeping Alive... we need to ask to the plugin side continuosly - world.Arduino.keepAlive = true; - + if (window.location.protocol === 'https') { + world.Arduino.keepAlive = false; + } else { + world.Arduino.keepAlive = true; + } ide = new IDE_Morph(); ide.openIn(world);