mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-25 06:16:58 +00:00
i'm sorry gofumpt
This commit is contained in:
parent
832a4ecd63
commit
9ec026a31b
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ func (o *Options) Upstream(ctx *fasthttp.RequestCtx, giteaRoot, giteaAPIToken st
|
|||
}
|
||||
ctx.Response.Header.SetContentType(mimeType)
|
||||
|
||||
if ( ctx.Response.StatusCode() != fasthttp.StatusNotFound ) {
|
||||
if ctx.Response.StatusCode() != fasthttp.StatusNotFound {
|
||||
// Everything's okay so far
|
||||
ctx.Response.SetStatusCode(fasthttp.StatusOK)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue