Skip to content

Using in a codespace results in broken state #7

@igor-makarov

Description

@igor-makarov

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions