Hosting a panel app converted to pyodide-worker on GitHub pages

Does anyone have experience hosting a panel app converted to pyodide-worker on GitHub pages?

I get: Access to script at '' from origin '' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

And dumped output here (renamed to index.html / index.js)

1 Like

Hi @ahuang11 .

I see issues like that once in a while. But I cannot really reproduce them.

FYI. @philippjfr

Are you able to open the app successfully here? Squarify

The console results in the error from above.

1 Like

I see another error

I’ve seen other people report the CORS issue but have double and triple checked the setting and could never reproduce it myself. And yes, the app seems to missing the .js file. I think you renamed the files from app.html/js → index.html/js but did not update the reference to app.js in the app.html to refer to the renamed index.js.

1 Like

Thanks all! I got it live now: Squarify

1 Like

I’m getting consistent CORS errors with this app

Enter, for example, bedtools 2.29.0 and pigz 2.3.4 and you should see a failing request to which is denied by CORS.