about summary refs log tree commit diff
path: root/src/http
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2020-03-16 13:00:12 +0100
committerEmile <hanemile@protonmail.com>2020-03-16 13:00:12 +0100
commitf362b7894c59b9e434563afb33c1e0a1d97371e8 (patch)
tree27ce40923a655898f396fe5b6d08bbf120957d06 /src/http
parent3e28a4ba1fcda97bb05a88000ccc4f3d551c5975 (diff)
filecount
Diffstat (limited to 'src/http')
-rw-r--r--src/http/http.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/http.go b/src/http/http.go
index 9c618e3..dd4fe95 100644
--- a/src/http/http.go
+++ b/src/http/http.go
@@ -131,6 +131,7 @@ func pathHandler(w http.ResponseWriter, r *http.Request) {
 			dirCount++
 		} else {
 			item.Download = true
+			fileCount++
 		}
 
 		items = append(items, item)