You can build your next.js project with the following command:
npm run build
Which in fact runs next build && next export (assuming build...
For further actions, you may consider blocking this person and/or reporting abuse
Hello, i tried this method, but only the next nested parent route after the '/' gets displayed. e.g localhost:50/dashboard, localhost:50/customers. If I route to localhost:50/customers/all and reload, i will get a 403. forbidden error. Is there a possible fix for this?
Actually, it's been a while since I implemented this. But the trick is the match url part. It matches the whole part after the slash (/) character. So products become products.html. What you need to do is to change the regular expression. I'd like to give the exact solution but I don't have the setup anymore (switched to Linux :)).