Update ImageServer.kt
This commit is contained in:
parent
d84f5a66c1
commit
2907cda312
|
@ -282,7 +282,7 @@ class ImageServer(
|
||||||
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-allow-headers", "*")
|
||||||
.header("access-control-allow-headers", "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