feat: implement pwa push notifications

This commit is contained in:
2026-01-13 09:03:46 +01:00
parent e7291951d8
commit 14430b275e
16 changed files with 547 additions and 50 deletions

View File

@@ -5,6 +5,9 @@ const withPWA = withPWAInit({
disable: process.env.NODE_ENV === "development",
register: true,
skipWaiting: true,
workboxOptions: {
importScripts: ["/push-sw.js"],
},
});
/** @type {import('next').NextConfig} */