Immutable
This commit is contained in:
parent
a8ee77c262
commit
d84f5a66c1
|
@ -281,9 +281,9 @@ 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")
|
||||||
response.header("access-control-allow-headers", "*")
|
.header("access-control-allow-headers", "*")
|
||||||
response.header("access-control-allow-headers", "GET")
|
.header("access-control-allow-headers", "GET")
|
||||||
response.header("timing-allow-origin", "https://mangadex.org")
|
.header("timing-allow-origin", "https://mangadex.org")
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue