]> source.dussan.org Git - gitea.git/commit
Set AllowedHeaders on API CORS handler (#16524)
authorzeripath <art27@cantab.net>
Wed, 4 Aug 2021 19:56:49 +0000 (20:56 +0100)
committerGitHub <noreply@github.com>
Wed, 4 Aug 2021 19:56:49 +0000 (21:56 +0200)
commit19e2c6a302cc691ab0acbc464650bb57add41d0b
tree021cb9703dddd6a42c3d782a116d64c958a3a41a
parent7c4172ef71a0805f16b8bd89188bb1b4d3e33f9b
Set AllowedHeaders on API CORS handler (#16524)

Set AllowedHeaders on API CORS handler and add missing Access-Control-Expose-Headers
to pull API.

Fix #16100

Signed-off-by: Andrew Thornton <art27@cantab.net>
routers/api/v1/api.go
routers/api/v1/repo/pull.go