0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-28 10:24:11 -05:00
forgejo/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.go Make CORS work for oauth2 handlers (#28184) 2023-11-23 21:19:26 +08:00
route_test.go
routemock.go Make route middleware/handler mockable (#25766) 2023-07-09 12:25:53 +00:00
routemock_test.go Make route middleware/handler mockable (#25766) 2023-07-09 12:25:53 +00:00