From a70d99a893dad259309773091f85c8321648228d Mon Sep 17 00:00:00 2001 From: Emile Date: Sun, 22 Mar 2020 15:50:56 +0100 Subject: comment --- src/http/http.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/http/http.go b/src/http/http.go index f4569d5..dc23037 100644 --- a/src/http/http.go +++ b/src/http/http.go @@ -131,6 +131,8 @@ func pathHandler(w http.ResponseWriter, r *http.Request) { query := r.URL.Query() + // if the ?download query is present, retirect to the download handler with + // the needed information if query["download"] != nil { // strip the file before and after the request -- cgit 1.4.1