mirror of
https://gitlab.com/mangadex-pub/mangadex_at_home.git
synced 2024-01-19 02:48:37 +00:00
Fixed Access-Control-Expose-Headers typo
This commit is contained in:
parent
1be9ee8506
commit
f44b6476a7
|
@ -14,6 +14,7 @@ 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
|
||||
|
||||
|
|
|
@ -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")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue