1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05:00
gitea/routers/web/misc
wxiaoguang 7c0ab8b974
Make CORS work for oauth2 handlers (#28184)
Fix #25473

Although there was `m.Post("/login/oauth/access_token", CorsHandler()...`,
it never really worked, because it still lacks the "OPTIONS" handler.
2023-11-23 21:19:26 +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) 2023-11-23 21:19:26 +08:00
swagger.go