0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-02-02 03:39:25 -05:00
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 Remove deleted repos from searchresult (#21512) 2022-10-22 17:23:20 +08:00
feed feat: notify doers of a merge when automerging (#21553) 2022-11-03 23:49:00 +08:00
healthcheck
misc
org move invite by mail to services package (#21513) 2022-10-20 11:23:31 +08:00
repo Add Webhook authorization header (#20926) 2022-11-03 20:23:20 +02:00
user Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2022-10-24 20:29:17 +01:00
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