Skip to content

Commit

Permalink
Dont override cors max age, add it.
Browse files Browse the repository at this point in the history
Because its not already added.
  • Loading branch information
khituras committed Jun 11, 2024
1 parent f76dc96 commit 764ba45
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +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");
configuration.add(SymbolConstants.CORS_MAX_AGE, "5");
}

public static void contributeApplicationDefaults(
Expand Down

0 comments on commit 764ba45

Please sign in to comment.