partage

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.z3bra.org/partage.git
Log | Files | Refs

commit 19eac4e3851f659762ab3ac53cc6e7d36cce1a0c
parent 0da61be51a6149b72f221b7b91f080bb2af7d668
Author: Willy Goiffon <dev@z3bra.org>
Date:   Mon, 11 Oct 2021 17:21:28 +0200

Add newline after URL file download

Diffstat:
Mpartage.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/partage.go b/partage.go @@ -122,7 +122,7 @@ func parse(w http.ResponseWriter, r *http.Request) { return } - resp := conf.baseuri + conf.filectx + filepath.Base(tmp.Name()) + resp := conf.baseuri + conf.filectx + filepath.Base(tmp.Name()) + "\r\n" w.Write([]byte(resp)) case "GET":