[MIRROR] Allow gzip encoded archives to be downloaded from the browse files ui [MDB IGNORE] (#16339)

* Allow gzip encoded archives to be downloaded from the browse files ui (#70013)

* Allow gzip encoded archives to be downloaded from the browse files ui

Co-authored-by: oranges <email@oranges.net.nz>
This commit is contained in:
SkyratBot
2022-09-20 13:32:42 -07:00
committed by GitHub
co-authored by oranges
parent 76f30d2fb0
commit bfc503b544
+1 -1
View File
@@ -5,7 +5,7 @@
*/
GLOBAL_VAR_INIT(fileaccess_timer, 0)
/client/proc/browse_files(root_type=BROWSE_ROOT_ALL_LOGS, max_iterations=10, list/valid_extensions=list("txt","log","htm", "html"))
/client/proc/browse_files(root_type=BROWSE_ROOT_ALL_LOGS, max_iterations=10, list/valid_extensions=list("txt","log","htm", "html", "gz"))
// wow why was this ever a parameter
var/root = "data/logs/"
switch(root_type)