mirror of
https://gitlab.com/mangadex-pub/mangadex_at_home.git
synced 2024-11-17 00:22:32 +01:00
Also set Access-Control-Expose-Headers
This commit is contained in:
parent
3c7f796c9e
commit
d27cd91947
@ -233,6 +233,7 @@ class ImageServer(private val cache: DiskLruCache, private val statistics: Atomi
|
|||||||
listOf("public", MaxAgeTtl(Constants.MAX_AGE_CACHE).toHeaderValue()).joinToString(", ")
|
listOf("public", MaxAgeTtl(Constants.MAX_AGE_CACHE).toHeaderValue()).joinToString(", ")
|
||||||
)
|
)
|
||||||
.header("Access-Control-Allow-Origin", "https://mangadex.org")
|
.header("Access-Control-Allow-Origin", "https://mangadex.org")
|
||||||
|
.header("Access-Control-Expose-Headers", "*")
|
||||||
.header("Timing-Allow-Origin", "https://mangadex.org")
|
.header("Timing-Allow-Origin", "https://mangadex.org")
|
||||||
.let {
|
.let {
|
||||||
if (length != null) {
|
if (length != null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user