Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better worker.py path for GitHub pages #21

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

WebReflection
Copy link
Contributor

I have noticed the wrong absolute URL was not working on GitHub pages so I've fixed it.

I know it's not idea to not being able to refer to the current folder but the thing is that such file could be imported in the VFS at any path level so the root/starting folder is always the one that bootstraps the interpreter, not necessarily the one where the file is.

This has been tested locally and the network related errors are now gone, it should work on GitHub pages too.

P.S. there is another error about MicroPython but it seems unrelated to this change or the previous one with the Service Worker.

@WebReflection WebReflection requested a review from laffra February 27, 2025 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant