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

fix(website): remove workbox #1701

Merged
merged 4 commits into from
Nov 29, 2023
Merged

fix(website): remove workbox #1701

merged 4 commits into from
Nov 29, 2023

Conversation

azu
Copy link
Collaborator

@azu azu commented Nov 29, 2023

workboxのメンテナーがいないため、削除する。
現在はキャッシュのみの利用なので、オフラインやpreloadが効かなくぐらいなはず

Signed-off-by: azu <azuciao@gmail.com>
@bot-user
Copy link

bot-user commented Nov 29, 2023

Deploy Preview for js-primer ready!

Name Link
🔨 Latest commit cca719a
🔍 Latest deploy log https://app.netlify.com/sites/js-primer/deploys/6566c3dfcf1e9f0008f7eb2c
😎 Deploy Preview https://deploy-preview-1701--js-primer.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Comment on lines 419 to 428
// unregister old service worker
navigator.serviceWorker.getRegistrations().then(function(registrations) {
for (const registration of registrations) {
registration.unregister();
}
}).catch(function(err) {
console.error(new Error("Can not getRegistrations", {
cause: err
}));
});
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

過去のSWを登録かいじょさせる

azu added 3 commits November 29, 2023 13:46
Signed-off-by: azu <azuciao@gmail.com>
Signed-off-by: azu <azuciao@gmail.com>
Signed-off-by: azu <azuciao@gmail.com>
@azu azu merged commit b7abe2a into master Nov 29, 2023
13 checks passed
@azu azu deleted the remove-workbox branch November 29, 2023 04:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

website: workbox v4へアップデート
2 participants