forgejo/routers
Drew Noel 2cbea23d70
Add configuration for CORS allowed headers ()
This PR enhances the CORS middleware usage by allowing for the headers
to be configured in `app.ini`.

Fixes 

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 () 2022-11-11 14:39:27 +08:00
common Rework raw file http header logic () 2022-07-29 17:26:55 +02:00
install Fix token generation when using INTERNAL_TOKEN_URI () 2022-11-03 20:55:09 +00:00
private Merge db.Iterate and IterateObjects () 2022-10-31 23:51:14 +08:00
utils refactor webhook *NewPost () 2022-08-11 17:48:23 +02:00
web Add configuration for CORS allowed headers () 2022-11-11 14:39:27 +08:00
init.go Sync git hooks when config file path changed () 2022-10-28 19:53:08 +03:00