You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/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>
2 years ago
..
admin Revert unrelated changes for SMTP auth (#21767) 2 years ago
auth Extract updateSession function to reduce repetition (#21735) 2 years ago
events Improve Stopwatch behavior (#18930) 3 years ago
explore Remove deleted repos from searchresult (#21512) 2 years ago
feed feat: notify doers of a merge when automerging (#21553) 2 years ago
healthcheck Update go-chi/cache to utilize Ping() (#19719) 3 years ago
misc Fix panic in team repos API (#19431) 3 years ago
org move invite by mail to services package (#21513) 2 years ago
repo Add Webhook authorization header (#20926) 2 years ago
user Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
auth.go Remove legacy `+build:` constraint (#19582) 3 years ago
auth_windows.go Let web and API routes have different auth methods group (#19168) 3 years ago
base.go Share HTML template renderers and create a watcher framework (#20218) 2 years ago
goget.go Refactor legacy `unknwon/com` package, improve golangci lint (#19284) 3 years ago
home.go Add sitemap support (#18407) 3 years ago
metrics.go Update HTTP status codes to modern codes (#18063) 3 years ago
nodeinfo.go Add nodeinfo endpoint for federation purposes (#16953) 3 years ago
swagger_json.go
web.go Add configuration for CORS allowed headers (#21747) 2 years ago
webfinger.go Fix various typos (#20338) 3 years ago