Skip to content

Commit

Permalink
Add or override...?
Browse files Browse the repository at this point in the history
  • Loading branch information
khituras committed Sep 5, 2024
1 parent 2a384fb commit 933675c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public static void contributeFactoryDefaults(
configuration.override(SymbolConstants.CORS_ALLOWED_ORIGINS, "*");
configuration.override(SymbolConstants.CORS_ALLOW_CREDENTIALS, "true");
configuration.override(SymbolConstants.CORS_EXPOSE_HEADERS, "X-Custom-Header");
configuration.override(SymbolConstants.CORS_MAX_AGE, "3600");
configuration.add(SymbolConstants.CORS_MAX_AGE, "3600");
}

public static void contributeApplicationDefaults(
Expand Down

0 comments on commit 933675c

Please sign in to comment.