forgejo/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>
2022-11-11 14:39:27 +08:00
..
activitypub Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2022-10-24 20:29:17 +01:00
admin
misc Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2022-10-24 20:29:17 +01:00
notify
org Add Webhook authorization header (#20926) 2022-11-03 20:23:20 +02:00
packages
repo Add Webhook authorization header (#20926) 2022-11-03 20:23:20 +02:00
settings
swagger
user Record OAuth client type at registration (#21316) 2022-10-24 15:59:24 +08:00
utils Add Webhook authorization header (#20926) 2022-11-03 20:23:20 +02:00
api.go Add configuration for CORS allowed headers (#21747) 2022-11-11 14:39:27 +08:00
auth.go
auth_windows.go