Skip to content

Commit

Permalink
Use correct file paths in pyodideWorker.js
Browse files Browse the repository at this point in the history
  • Loading branch information
tuzz committed Jan 18, 2024
1 parent 5d0bc2c commit 72047ea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions public/webworkers/pyodideWorker.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import "https://cdn.jsdelivr.net/pyodide/v0.24.1/full/pyodide.js";
import * as pygal from "./packages/pygal.js";
import * as _internal_sense_hat from "./packages/_internal_sense_hat.js";
import * as pygal from "../packages/pygal.js";
import * as _internal_sense_hat from "../packages/_internal_sense_hat.js";

let pyodide, pyodidePromise, interruptBuffer, stopped;

Expand Down Expand Up @@ -159,7 +159,7 @@ const reloadPyodideToClearState = async () => {
};

if (typeof SharedArrayBuffer === "undefined") {
throw new Error(`Please set the following HTTP headers for webworker.js to support the stop button:
throw new Error(`Please set the following HTTP headers for pyodideWorker.js to support the stop button:
Cross-Origin-Opener-Policy: same-origin
Cross-Origin-Embedder-Policy: require-corp
`);
Expand Down

0 comments on commit 72047ea

Please sign in to comment.