When I run pi-web in a codespace on GitHub, I can access the site. GH has access control. But when my GH access token expires, the web UI somehow doesn't redirect to re-issue token.
Then it is stuck in this state where the UI is loaded but no data can be fetched. I've tried to debug it and it seems like the service worker fulfills the static assets, bypassing auth, but of course the data is still behind auth, so it won't load.
I haven't gone further but if it is the service worker being too eager maybe it's prudent to configure it to always revalidate?
Thanks for working on this project.
When I run pi-web in a codespace on GitHub, I can access the site. GH has access control. But when my GH access token expires, the web UI somehow doesn't redirect to re-issue token.
Then it is stuck in this state where the UI is loaded but no data can be fetched. I've tried to debug it and it seems like the service worker fulfills the static assets, bypassing auth, but of course the data is still behind auth, so it won't load.
I haven't gone further but if it is the service worker being too eager maybe it's prudent to configure it to always revalidate?
Thanks for working on this project.