1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

update: macaron cores,gzip,session (#10522)

Co-authored-by: zeripath <art27@cantab.net>
This commit is contained in:
6543
2020-02-28 10:51:18 +01:00
committed by GitHub
parent 694f44660f
commit 8d2059a201
47 changed files with 2154 additions and 349 deletions

View File

@@ -151,7 +151,8 @@ func CORS(options ...Options) macaron.Handler {
}
})
if reqOptions {
ctx.Status(200) // return response
ctx.Resp.WriteHeader(200) // return response
return
}
}
}