[Feat]: Add `disable-folder-downloads`
Ouverte
enhancement
- Langage dominant
- TypeScript
- Étoiles
- 79.3k
- Forks
- 6.8k
- Merge moyen
- 2 j 6 h
- PR mergées (30 j)
- 41
Description
## What is your suggestion?
1. `disable-file-downloads` prevents all forms of downloading
2. I would like to disable downloading of whole folders only but allow downloading of 1 file
## Why do you want this feature?
My aim is to not allow whole folder downloads as it can lead to bad practices/security issues but downloading of files, 1 by 1 is acceptable as a convenience feature
## Are there any workarounds to get this functionality today?
Yes, allow file downloads which also allows folder downloads
## Are you interested in submitting a PR for this?
Unfortunately no as my javascript is subpar.
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.