1
0
Fork 1
mirror of https://gitlab.com/mangadex-pub/mangadex_at_home.git synced 2024-01-19 02:48:37 +00:00

Merge branch 'fix-access-control' into 'master'

Fix Access-Control-Expose-Headers header & CHANGELOG.md invalid dates

See merge request mangadex-pub/mangadex_at_home!81
This commit is contained in:
carbotaniuman 2021-03-11 16:29:05 +00:00
commit 8178f1b0d6
2 changed files with 7 additions and 6 deletions

View file

@ -14,18 +14,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Removed
### Fixed
- [2021-03-11] Fixed Access-Control-Expose-Headers typo [@lflare].
### Security
## [2.0.0-rc14] - 2021-03-02
### Changed
- [2020-02-10] Fix Prometheus to 2.24.1 and Grafana to 7.4.0 [@_tde9].
- [2020-02-10] Update and rearrange the embedded dashboard with the new Timeseries panel from Grafana 7.4 [@_tde9].
- [2020-02-10] Update sample dashboard screenshot thanks to DLMSweet :smile: [@_tde9].
- [2020-02-25] Use HTTP/2 to download when possible [@carbotaniuman].
- [2021-02-10] Fix Prometheus to 2.24.1 and Grafana to 7.4.0 [@_tde9].
- [2021-02-10] Update and rearrange the embedded dashboard with the new Timeseries panel from Grafana 7.4 [@_tde9].
- [2021-02-10] Update sample dashboard screenshot thanks to DLMSweet :smile: [@_tde9].
- [2021-02-25] Use HTTP/2 to download when possible [@carbotaniuman].
### Fixed
- [2020-02-21] Fix pipeline [@_tde9].
- [2021-02-21] Fix pipeline [@_tde9].
## [2.0.0-rc13] - 2021-02-19
### Changed

View file

@ -182,7 +182,7 @@ class ImageServer(
{ request: Request ->
val response = next(request)
response.header("access-control-allow-origin", "https://mangadex.org")
.header("access-control-allow-headers", "*")
.header("access-control-expose-headers", "*")
.header("access-control-allow-methods", "GET")
.header("timing-allow-origin", "https://mangadex.org")
}