Does anyone have experience hosting a panel app converted to pyodide-worker on GitHub pages?
ahuang11.github.io/:1 Access to script at 'https://cdn.holoviz.org/panel/0.14.1/dist/bundled/js/@firstname.lastname@example.org/dist/color-interpolation.js' from origin 'https://ahuang11.github.io' 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)
Hi @ahuang11 .
I see issues like that once in a while. But I cannot really reproduce them.
Are you able to open the app successfully here? Squarify
The console results in the error from above.
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.
Thanks all! I got it live now: Squarify