Can you try cloning the repo and deploying it? If that works, there has to be a strange issue somewhere in your code. Compare your project to the cloned repo. Hopefully, that'll help you out. :)
That does not work. It gives and internal server error as soon as you try using app.render.
Hi - this doesn't work.
The only route that does work (without defining a specific route definition in server.js) is index.js.
Any other pages under /pages fails to render with a 404, although, they do work fine in local environment.
Perhaps there's some other settings that aren't listed in this article?
We’re a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.