0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 23:33:15 -05:00
forgejo/routers
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
..
api Add configuration for CORS allowed headers (#21747) 2022-11-11 14:39:27 +08:00
common Rework raw file http header logic (#20484) 2022-07-29 17:26:55 +02:00
install Fix token generation when using INTERNAL_TOKEN_URI (#21669) 2022-11-03 20:55:09 +00:00
private Merge db.Iterate and IterateObjects (#21641) 2022-10-31 23:51:14 +08:00
utils refactor webhook *NewPost (#20729) 2022-08-11 17:48:23 +02:00
web Add configuration for CORS allowed headers (#21747) 2022-11-11 14:39:27 +08:00
init.go Sync git hooks when config file path changed (#21619) 2022-10-28 19:53:08 +03:00