diff --git a/src/pyodide.js b/src/pyodide.js index a363b0cdf..f5d85e074 100644 --- a/src/pyodide.js +++ b/src/pyodide.js @@ -117,6 +117,7 @@ var languagePluginLoader = new Promise((resolve, reject) => { }; Module.filePackagePrefixURL = baseURL; + Module.locateFile = (path) => baseURL + path; var postRunPromise = new Promise((resolve, reject) => { Module.postRun = () => { delete window.Module;