diff --git a/server.go b/server.go index 57ad1b8..637a902 100644 --- a/server.go +++ b/server.go @@ -81,9 +81,7 @@ func handler(ctx *fasthttp.RequestCtx) { } // -- set status code - if code != 0 { - ctx.Response.SetStatusCode(code) - } + ctx.Response.SetStatusCode(code) // -- find in FS and read headers+body path := "storage/" + string(id)