[Feat]: Add `disable-folder-downloads`
Offen
enhancement
- Vorherrschende Sprache
- TypeScript
- Sterne
- 79.3k
- Forks
- 6.8k
- Ø Merge
- 2 T. 6 Std.
- Gemergte PRs (30 T.)
- 41
Beschreibung
## 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.
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.