Skip to content

Commit

Permalink
Remove CORS stuff.
Browse files Browse the repository at this point in the history
It can't fix the issues created by using a reverse proxy (different public and internal ports).
  • Loading branch information
khituras committed Sep 5, 2024
1 parent 933675c commit a06beff
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,6 @@ public static void contributeFactoryDefaults(
// symbol source at the top). This is here to give a default value when the property is not included in the
// configuration file.
configuration.add("gepi.maintenance", false);

configuration.override(SymbolConstants.CORS_ENABLED, "true");
configuration.override(SymbolConstants.CORS_ALLOWED_ORIGINS, "*");
configuration.override(SymbolConstants.CORS_ALLOW_CREDENTIALS, "true");
configuration.override(SymbolConstants.CORS_EXPOSE_HEADERS, "X-Custom-Header");
configuration.add(SymbolConstants.CORS_MAX_AGE, "3600");
}

public static void contributeApplicationDefaults(
Expand Down

0 comments on commit a06beff

Please sign in to comment.