Immutable

This commit is contained in:
carbotaniuman 2020-07-04 17:59:20 -05:00
parent a8ee77c262
commit d84f5a66c1

View file

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