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

Use serwist to handle service worker #1355

Merged
merged 4 commits into from
Feb 3, 2025

Conversation

dtrucs
Copy link
Collaborator

@dtrucs dtrucs commented Jan 29, 2025

Offline PWA no longer works since version v3.23.0 (probably due to the next package update)

  • Use serwist package instead of the worbox + next-pwa packages (both are no longer maintained)
  • Add crossOrigin="anonymous" to all images coming from a remote server to avoid storing them as opaque file
  • In offline mode: the homepage redirects now to the offline page

@dtrucs dtrucs requested a review from a team January 29, 2025 13:59
@dtrucs dtrucs merged commit 0b3a7c6 into develop Feb 3, 2025
2 checks passed
@dtrucs dtrucs deleted the Use-serwist-to-handle-service-worker branch February 3, 2025 15:51
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

Successfully merging this pull request may close these issues.

2 participants