Skip to content

Commit

Permalink
Enable CORS (#669)
Browse files Browse the repository at this point in the history
  • Loading branch information
javierdlrm authored and o-alex committed Sep 9, 2022
1 parent 351cfd8 commit 10f3d6f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ public ApplicationConfig() {
register(io.hops.hopsworks.api.opensearch.OpenSearchResource.class);

//uncomment to allow Cross-Origin Resource Sharing
// register(io.hops.hopsworks.filters.AllowCORSFilter.class);

register(io.hops.hopsworks.filters.AllowCORSFilter.class);
//swagger
register(io.swagger.jaxrs.listing.ApiListingResource.class);
register(io.swagger.jaxrs.listing.SwaggerSerializers.class);
Expand Down

0 comments on commit 10f3d6f

Please sign in to comment.