Disable directory listing of _next
directory
#2842
H4rryp0tt3r
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello there!
I see a directory listing on the domain (See the image below), which is due to the Next.js default behavior I guess.

It kind of feels odd, and may be a slight security risk as well. Though there are no known security risks as of today, but it's good to fix this issue.Mitigation can be found here: vercel/next.js#14637
And I will take this chance to praise tailwind. I'm a big fan of tailwind and the ideas of author around CSS. And the new landing page is impressive and I can go to an extent and say that's the best I've ever seen.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions