mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-133605 set "Access-Control-Request-Headers" to "origin, accept, authorization, content-type"
This commit is contained in:
@@ -225,6 +225,7 @@ public final class NettyUtil {
|
||||
.allowCredentials()
|
||||
.allowNullOrigin()
|
||||
.allowedRequestMethods(HttpMethod.GET, HttpMethod.POST, HttpMethod.PUT, HttpMethod.DELETE, HttpMethod.HEAD, HttpMethod.PATCH)
|
||||
.allowedRequestHeaders("origin", "accept", "authorization", "content-type")
|
||||
.build()));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user