0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-03 23:02:46 +01:00
gitea/modules/setting
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
..
attachment.go
cache.go
cors.go Add configuration for CORS allowed headers (#21747) 2022-11-11 14:39:27 +08:00
cron_test.go
cron.go
database_sqlite.go
database_test.go
database.go Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2022-10-24 20:29:17 +01:00
directory.go Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2022-10-24 20:29:17 +01:00
federation.go
git.go
i18n.go
indexer_test.go
indexer.go
lfs.go Allow specifying SECRET_KEY_URI, similar to INTERNAL_TOKEN_URI (#19663) 2022-10-02 01:26:33 +08:00
log.go
mailer.go
markup.go
migrations.go
mime_type_map.go
mirror.go
oauth2_client.go
packages_test.go Add package registry quota limits (#21584) 2022-11-09 14:34:27 +08:00
packages.go Add package registry quota limits (#21584) 2022-11-09 14:34:27 +08:00
picture.go Add system setting table with cache and also add cache supports for user setting (#18058) 2022-10-17 07:29:26 +08:00
project.go
proxy.go
queue.go Add generic set type (#21408) 2022-10-12 13:18:26 +08:00
repository.go
service.go
session.go
setting_test.go
setting.go Attempt clarify AppWorkPath etc. (#21656) 2022-11-09 20:22:31 -05:00
storage_test.go
storage.go
task.go
webhook.go