forgejo/routers/web
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
..
admin Revert unrelated changes for SMTP auth (#21767) 2022-11-10 16:12:23 -05:00
auth Extract updateSession function to reduce repetition (#21735) 2022-11-10 19:43:06 +08:00
events
explore
feed feat: notify doers of a merge when automerging (#21553) 2022-11-03 23:49:00 +08:00
healthcheck
misc
org
repo Add Webhook authorization header (#20926) 2022-11-03 20:23:20 +02:00
user
auth.go
auth_windows.go
base.go
goget.go
home.go
metrics.go
nodeinfo.go
swagger_json.go
web.go Add configuration for CORS allowed headers (#21747) 2022-11-11 14:39:27 +08:00
webfinger.go