From 2907cda3126f84c2794a785c34eca6b58fcc6e1f Mon Sep 17 00:00:00 2001 From: carbotaniuman Date: Sat, 4 Jul 2020 23:54:07 +0000 Subject: [PATCH] Update ImageServer.kt --- src/main/kotlin/mdnet/base/server/ImageServer.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/mdnet/base/server/ImageServer.kt b/src/main/kotlin/mdnet/base/server/ImageServer.kt index dba173a..fd2b0ef 100644 --- a/src/main/kotlin/mdnet/base/server/ImageServer.kt +++ b/src/main/kotlin/mdnet/base/server/ImageServer.kt @@ -282,7 +282,7 @@ class ImageServer( val response = next(request) response.header("access-control-allow-origin", "https://mangadex.org") .header("access-control-allow-headers", "*") - .header("access-control-allow-headers", "GET") + .header("access-control-allow-methods", "GET") .header("timing-allow-origin", "https://mangadex.org") } })