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 } ] ) }