nextjs rewrite not working. .File not found