From dc6673901658affb9ed7cfa168b4cf83760e4828 Mon Sep 17 00:00:00 2001 From: pmp-p Date: Thu, 6 Oct 2022 19:27:41 +0200 Subject: [PATCH] 0.4 testing --- static/pythons.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/pythons.js b/static/pythons.js index 5f5061b..70fdea5 100644 --- a/static/pythons.js +++ b/static/pythons.js @@ -5,7 +5,7 @@ var config const FETCH_FLAGS = { mode:"no-cors", redirect: 'follow', -// referrerPolicy: 'no-referrer', or HTTP error 0 on pythonrc.py + referrerPolicy: 'no-referrer', credentials: 'omit' } @@ -736,7 +736,7 @@ async function feat_vtx(debug_hidden) { const { WasmTerminal } = await import("./vtx.js") vm.vt = new WasmTerminal("terminal", 132, 42, [ - { url : config.cdn+"xtermjsixel/xterm-addon-image-worker.js", sixelSupport:true } + { url : (config.cdn || "./") + "xtermjsixel/xterm-addon-image-worker.js", sixelSupport:true } ] ) }