1
0
Fork 1
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:
Amos Ng 2021-03-12 00:00:57 +08:00
parent 1be9ee8506
commit f44b6476a7
No known key found for this signature in database
GPG key ID: CF425D82FC4037D2
2 changed files with 2 additions and 1 deletions

View file

@ -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

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")
}