Skip to content

Commit

Permalink
Setting CORS Max Age
Browse files Browse the repository at this point in the history
  • Loading branch information
khituras committed Jun 11, 2024
1 parent c818187 commit f76dc96
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ public static void contributeFactoryDefaults(

configuration.override(SymbolConstants.CORS_ENABLED, true);
configuration.override(SymbolConstants.CORS_ALLOWED_ORIGINS, "*");
configuration.override(SymbolConstants.CORS_MAX_AGE, "5");
}

public static void contributeApplicationDefaults(
Expand Down

0 comments on commit f76dc96

Please sign in to comment.