Giter Club home page Giter Club logo

Comments (3)

wch avatar wch commented on June 9, 2024

Can you provide example with all the steps you used to produce the bundle? And also if you can put the resulting files in a repo where we can see the files, that would also help us to diagnose it.

from shinylive.

rzzldzzl avatar rzzldzzl commented on June 9, 2024

Thanks for looking at this.

To reproduce:

  • Use Chrome version 113.0.5672.92 on macOS 13.3.1 (M2)
  • In the browser, set a cookie for domain shinylive.io. In this example cookie example_auth_cookie is set to foobar
  • navigate to https://shinylive.io/py/examples/#basic-app and hard refresh the page
  • Requests for https://shinylive.io/py/shinylive-sw.js does not include cookie example_auth_cookie. All the other requests to shinylive.io do include cookie example_auth_cookie

Attached is a HAR file of my testing.
shinylive.io_05-15-2023-10-23-36.har.zip

from shinylive.

wch avatar wch commented on June 9, 2024

Thanks for passing along that information, it's very helpful.

This is the code that loads shinylive-sw.js: https://github.com/rstudio/shinylive/blob/a2e4accd496e1db3908ddebedef493a6e4556c84/src/load-shinylive-sw.ts#L38-L41

I'm not yet sure why it's not passing along the cookie.

from shinylive.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.