Search code examples
netlifydirectory-tree

Netlify option to show directory contents


I need to list contents of my site directory on Netlify for debug, but I can not find an option to turn on directory listings. Am I right that there is no such autoindex ability in Netlify as mod_autoindex provides for Apache?

UPDATE: I tried generating index with tree -H '.' -L 1 > index.html, but `tree at Netlify is not installed. Maybe there is an alternative in Python, Ruby or npm repositories?


Solution

  • There is an option to download your deployed site for debugging, but there is not a way to list the contents of a deployed directory at this time.

    Steps:

    • Login to https://app.netlify.com
    • Select the site you want to see
    • Click on Deploys from the top menu
    • Select the deploy you want to download
    • Click on the download icon next to the deployed date shown below:

    enter image description here