1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-13 21:54:24 +00:00
gitea/routers/web/misc
Giteabot 23838c2c2e
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>
2023-11-23 22:27:00 +08:00
..
markup.go Decouple the different contexts from each other (#24786) 2023-05-21 09:50:53 +08:00
misc.go Make CORS work for oauth2 handlers (#28184) (#28185) 2023-11-23 22:27:00 +08:00
swagger.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00