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

Failure to load service worker in Workbench (and possibly in Connect) #66

Open
jcheng5 opened this issue Sep 17, 2023 · 0 comments
Open

Comments

@jcheng5
Copy link
Collaborator

jcheng5 commented Sep 17, 2023

I used Workbench to generate a shinylive exported site, and viewed index.html using the Files pane. The request for shinylive-sw.js was redirected to the login page, because no cookies were attached to that request. I found this SO question asking about this behavior, with a clue that it only happens if the registration happens within <script type="module"> (???).

I'm wondering whether this might also be a problem with Connect--I know we've published these to Connect somehow but have we tried it with content permissions set to private?

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