diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/http/http.go | 2 |
1 files changed, 2 insertions, 0 deletions
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 |