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

make service worker use its own python-wasm scope so it doesn't conflict with other service workers #23

Open
williamstein opened this issue Sep 6, 2022 · 0 comments

Comments

@williamstein
Copy link
Contributor

We finally have service workers working, e.g., at https://python-wasm.org. However, they just use the / scope. This would presumably conflict with embedding python-wasm into sites that have their own service worker at that scope, e.g., https://cocalc.com has a service worker at /.

That said, it's not clear to me that python-wasm is ever going to be embedded not as an iframe in other web applications, and if it is embedded as an iframe, I think the scope issue goes away. Anyway, recording this here for future thought.

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

No branches or pull requests

1 participant