DEV Community

Discussion on: When Netlify gives you that 404 page

swsalim profile image

Yea. Apparently, these issues aren't related. The serverMiddleware doesn't work on static hosting hence it doesn't work on Netlify. I replaced the serverMiddleware with Netlify functions.

Thread Thread
debs_obrien profile image
Debbie O'Brien Author

Nice 👏