0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-28 10:38:42 +01: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 Update tool dependencies (#26607) 2023-08-20 22:59:19 +00:00
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