mirror of
https://gitlab.com/mangadex-pub/mangadex_at_home.git
synced 2024-11-17 00:22:32 +01: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
|
### Removed
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
- [2021-03-11] Fixed Access-Control-Expose-Headers typo [@lflare].
|
||||||
|
|
||||||
### Security
|
### Security
|
||||||
|
|
||||||
|
@ -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 New Issue
Block a user