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:
commit
8178f1b0d6
11
CHANGELOG.md
11
CHANGELOG.md
|
@ -14,18 +14,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
### Removed
|
### Removed
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
- [2021-03-11] Fixed Access-Control-Expose-Headers typo [@lflare].
|
||||||
|
|
||||||
### Security
|
### Security
|
||||||
|
|
||||||
## [2.0.0-rc14] - 2021-03-02
|
## [2.0.0-rc14] - 2021-03-02
|
||||||
### Changed
|
### Changed
|
||||||
- [2020-02-10] Fix Prometheus to 2.24.1 and Grafana to 7.4.0 [@_tde9].
|
- [2021-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].
|
- [2021-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].
|
- [2021-02-10] Update sample dashboard screenshot thanks to DLMSweet :smile: [@_tde9].
|
||||||
- [2020-02-25] Use HTTP/2 to download when possible [@carbotaniuman].
|
- [2021-02-25] Use HTTP/2 to download when possible [@carbotaniuman].
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- [2020-02-21] Fix pipeline [@_tde9].
|
- [2021-02-21] Fix pipeline [@_tde9].
|
||||||
|
|
||||||
## [2.0.0-rc13] - 2021-02-19
|
## [2.0.0-rc13] - 2021-02-19
|
||||||
### Changed
|
### Changed
|
||||||
|
|
|
@ -182,7 +182,7 @@ class ImageServer(
|
||||||
{ request: Request ->
|
{ request: Request ->
|
||||||
val response = next(request)
|
val response = next(request)
|
||||||
response.header("access-control-allow-origin", "https://mangadex.org")
|
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("access-control-allow-methods", "GET")
|
||||||
.header("timing-allow-origin", "https://mangadex.org")
|
.header("timing-allow-origin", "https://mangadex.org")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue