1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05:00
gitea/modules/web
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
..
middleware Remove some dead code (#27196) 2023-09-22 23:30:31 +08:00
routing
types
handler.go
route_test.go
route.go Make CORS work for oauth2 handlers (#28184) 2023-11-23 21:19:26 +08:00
routemock_test.go
routemock.go