You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/routers/api/v1
Drew Noel 2cbea23d70
Add configuration for CORS allowed headers (#21747)
This PR enhances the CORS middleware usage by allowing for the headers
to be configured in `app.ini`.

Fixes #21746

Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2 years ago
..
activitypub Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
admin Move some files into models' sub packages (#20262) 2 years ago
misc Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
notify Move some files into models' sub packages (#20262) 2 years ago
org Add Webhook authorization header (#20926) 2 years ago
packages Add support for Vagrant packages (#20930) 2 years ago
repo Add Webhook authorization header (#20926) 2 years ago
settings Make mirror feature more configurable (#16957) 3 years ago
swagger Add API endpoint to get changed files of a PR (#21177) 2 years ago
user Record OAuth client type at registration (#21316) 2 years ago
utils Add Webhook authorization header (#20926) 2 years ago
api.go Add configuration for CORS allowed headers (#21747) 2 years ago
auth.go Remove legacy `+build:` constraint (#19582) 3 years ago
auth_windows.go Let web and API routes have different auth methods group (#19168) 3 years ago