mirror of
				https://codeberg.org/forgejo/forgejo.git
				synced 2025-10-31 06:21:11 +00:00 
			
		
		
		
	| 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>
(cherry picked from commit  | ||
|---|---|---|
| .. | ||
| middleware | ||
| routing | ||
| types | ||
| handler.go | ||
| route.go | ||
| route_test.go | ||
| routemock.go | ||
| routemock_test.go | ||