I want to host the Nextjs website on Hostinger so I export Nextjs as static in (out) directory using output: 'export'
in next config
I uploaded the static files on hostinger and it worked.
but once you refresh any page except the home page, Hostinger can’t serve the page and shows a 404 page
So what is the issue here and how can I debug it