1
0
mirror of https://github.com/go-gitea/gitea synced 2025-02-18 10:07:04 +01:00
Giteabot 23838c2c2e
Make CORS work for oauth2 handlers () ()
Backport 

Fix 

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>
2023-11-23 22:27:00 +08:00
..