1 min read
Until now, directories used to list the directory's contents whenever their path was visited (provided they didn't contain an index file).
In cases where this was considered a security issue, turning off the Directory Listing required configuring a rewrite rule in vercel.json
.
As of today, the Directory Listing is disabled for all newly created Projects and can be toggled on the "Advanced" page in the Project Settings.
Check out the documentation as well.