'Error 404 when you refresh a Next.js page
I am getting this error whenever I try to refresh a routed page in my small Next.js app.
Solution 1:[1]
I solved it by adding an hash before the href url, such as <Link href='#/link'>
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | GeniusHawlah |