Commit 0aeec670 authored by Michael Droettboom's avatar Michael Droettboom

Fix AJAX query to avoid cache issues

parent 28e7ab07
...@@ -2,7 +2,7 @@ var pyodide = {} ...@@ -2,7 +2,7 @@ var pyodide = {}
{ {
let baseURL = "{{DEPLOY}}"; let baseURL = "{{DEPLOY}}";
let wasmURL = baseURL + 'pyodide.asm.wasm'; let wasmURL = baseURL + 'pyodide.asm.wasm?x=' + Date.now();
let wasmXHR = new XMLHttpRequest(); let wasmXHR = new XMLHttpRequest();
wasmXHR.open('GET', wasmURL, true); wasmXHR.open('GET', wasmURL, true);
wasmXHR.responseType = 'arraybuffer'; wasmXHR.responseType = 'arraybuffer';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment