Added HEAD as default allowed method for Cors
This commit is contained in:
parent
b92494f023
commit
5533357c46
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ import org.keycloak.models.UserModel;
|
||||||
public class Cors {
|
public class Cors {
|
||||||
|
|
||||||
public static final long DEFAULT_MAX_AGE = TimeUnit.HOURS.toSeconds(1);
|
public static final long DEFAULT_MAX_AGE = TimeUnit.HOURS.toSeconds(1);
|
||||||
public static final String DEFAULT_ALLOW_METHODS = "GET, OPTIONS";
|
public static final String DEFAULT_ALLOW_METHODS = "GET, HEAD, OPTIONS";
|
||||||
|
|
||||||
public static final String ORIGIN = "Origin";
|
public static final String ORIGIN = "Origin";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue