Skip to content

Commit

Permalink
Allow CORS.
Browse files Browse the repository at this point in the history
  • Loading branch information
khituras committed Jun 10, 2024
1 parent fb9a606 commit c818187
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ public static void contributeFactoryDefaults(
// This is something that should be removed when going to production, but is useful
// in the early stages of development.
configuration.override(SymbolConstants.PRODUCTION_MODE, true);

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

public static void contributeApplicationDefaults(
Expand Down

0 comments on commit c818187

Please sign in to comment.