From 453a6d3c712b9f5921703e314dada6c2f6cbf3dc Mon Sep 17 00:00:00 2001 From: DarkCat09 Date: Tue, 2 Jul 2024 19:37:55 +0400 Subject: [PATCH] fix: remove 200->None feature as go-sqlite3 can not process nulls --- server.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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)