lorenseanstewart / nextjs-mdx-blog-kit

Starter code for creating a static blog system using Next.js and MDX. A service worker for offline reading is set up, and the blog has Perfect Lighthouse scores.

Home Page:https://nextjs-mdx-blog-kit.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Console error - can't find the my-worker.js

adrianmanea opened this issue · comments

Hei, out of the box it doesn't find my-worker.js which results in

"A bad HTTP response code (404) was received when fetching the script."

Any idea why? It seems like next-config doesn't copy the worker where it should.