Skip to content

Commit

Permalink
enable CORS
Browse files Browse the repository at this point in the history
  • Loading branch information
o-alex committed Sep 9, 2022
1 parent ff7f9d6 commit 7aa69cd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ 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);
Expand Down

0 comments on commit 7aa69cd

Please sign in to comment.