forked from forgejo/forgejo
update: macaron cores,gzip,session (#10522)
Co-authored-by: zeripath <art27@cantab.net>
This commit is contained in:
parent
694f44660f
commit
8d2059a201
47 changed files with 2154 additions and 349 deletions
3
vendor/gitea.com/macaron/cors/cors.go
generated
vendored
3
vendor/gitea.com/macaron/cors/cors.go
generated
vendored
|
@ -151,7 +151,8 @@ func CORS(options ...Options) macaron.Handler {
|
|||
}
|
||||
})
|
||||
if reqOptions {
|
||||
ctx.Status(200) // return response
|
||||
ctx.Resp.WriteHeader(200) // return response
|
||||
return
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue