1
0
Fork 1
mirror of https://gitlab.com/mangadex-pub/mangadex_at_home.git synced 2024-01-19 02:48:37 +00:00

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