coatless-quarto / r-shinylive-demo

Deploying an R Shiny Application in Quarto with Shinylive (No Shiny Server Required)
https://coatless-quarto.github.io/r-shinylive-demo/
108 stars 22 forks source link

Question: Service Workers #12

Closed erikrenz88 closed 4 months ago

erikrenz88 commented 5 months ago

I noticed your comments on the service workers not being uploaded and I have been trying to troubleshoot my way through this. I have tried to add the resource explicitly numerous times including:

filters:

I still get the error in my web browser that the service worker cannot be found. Were there any other suggestions on what to try? Or do you know anything about this being added to the v1.5 milestone? I know you logged the original issue and they assigned it to the milestone but wasn't sure if I missed any updated on that.

Thanks for your walkthrough! It's been very useful.

coatless commented 5 months ago

@erikrenz88 is this on a published domain? Like or a GitHub Pages site? Or were you trying to access the page locally?

If accessing locally, then this is to be expected. You would need to preview the page under a local server environment as any service worker is being brought in via local files, which is a restricted action for very good security reasons. 😢

Outside of those questions, please make sure to add your confirmed case of an issue into the Quarto ticket issue:

https://github.com/quarto-dev/quarto-cli/issues/6828

coatless commented 4 months ago

Going to go ahead and close this issue as the question was answered.