about summary refs log tree commit diff
path: root/src/http
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2020-03-22 15:54:25 +0100
committerEmile <hanemile@protonmail.com>2020-03-22 15:54:25 +0100
commit7080c3a2016446eb86311c323b70e6a6a4037f0b (patch)
treec1139d61dac847531492dfdb09b171114c053249 /src/http
parentbbad2bb8b2620c22110bdb4bb3296fe2a0003173 (diff)
comment
Diffstat (limited to 'src/http')
-rw-r--r--src/http/http.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/http/http.go b/src/http/http.go
index f4f0e88..db42184 100644
--- a/src/http/http.go
+++ b/src/http/http.go
@@ -259,7 +259,9 @@ func pathHandler(w http.ResponseWriter, r *http.Request) {
 		content["UpPath"] = ".."
 	}
 
-	// In the caddy
+	// the original caddy file_server has the option to limit the files that are
+	// displayed
+	// TODO: Implement this sometime
 	content["ItemsLimitedTo"] = 100000000000
 
 	// define the sort order manually