diff options
author | Giteabot <teabot@gitea.io> | 2023-11-23 22:27:00 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-23 22:27:00 +0800 |
commit | 23838c2c2eaf596bffd5331406be99edc264883c (patch) | |
tree | 45da95b932a5fc12b94a300408007d85e6679d15 /templates/repo | |
parent | f9763f136629bc440a77e7bc96371a8531b38fa5 (diff) | |
download | gitea-23838c2c2eaf596bffd5331406be99edc264883c.tar.gz gitea-23838c2c2eaf596bffd5331406be99edc264883c.zip |
Make CORS work for oauth2 handlers (#28184) (#28185)
Backport #28184
Fix #25473
Although there was `m.Post("/login/oauth/access_token", CorsHandler()...`,
it never really worked, because it still lacks the "OPTIONS" handler.
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'templates/repo')
0 files changed, 0 insertions, 0 deletions