shadowwalker / next-pwa

Zero config PWA plugin for Next.js, with workbox 🧰
MIT License
3.86k stars 323 forks source link

Does not register a service worker that controls page and 'start_url' #418

Closed rakhmonovbekzod closed 1 year ago

rakhmonovbekzod commented 1 year ago

Next pwa in not working in production. This is my next.config.js image How to fix this error?

rakhmonovbekzod commented 1 year ago

image image

my package.json and manifest.json

qutek commented 1 year ago

@rakhmonovbekzod have you tried to set the start_url to the /app as well?

rakhmonovbekzod commented 1 year ago

@rakhmonovbekzod have you tried to set the start_url to the /app as well? I registered service-worker in _app.js and now all okey