Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 721
anatoly techtonik Avatar asked Jun 22 '18 04:06

anatoly techtonik


1 Answers

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

like image 62
talves Avatar answered Jan 02 '23 21:01

talves