Netlify 选项以显示目录内容 [英] Netlify option to show directory contents

查看:59
本文介绍了Netlify 选项以显示目录内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在 Netlify 上列出我的站点目录的内容以进行调试,但我找不到打开目录列表的选项.Netlify 中没有像

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?

解决方案

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:

这篇关于Netlify 选项以显示目录内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆