Skip to content

Commit 10f3d6f

Browse files
javierdlrmo-alex
authored andcommitted
Enable CORS (#669)
1 parent 351cfd8 commit 10f3d6f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hopsworks-api/src/main/java/io/hops/hopsworks/rest/application/config/ApplicationConfig.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ public ApplicationConfig() {
134134
register(io.hops.hopsworks.api.opensearch.OpenSearchResource.class);
135135

136136
//uncomment to allow Cross-Origin Resource Sharing
137-
// register(io.hops.hopsworks.filters.AllowCORSFilter.class);
138-
137+
register(io.hops.hopsworks.filters.AllowCORSFilter.class);
138+
139139
//swagger
140140
register(io.swagger.jaxrs.listing.ApiListingResource.class);
141141
register(io.swagger.jaxrs.listing.SwaggerSerializers.class);

0 commit comments

Comments
 (0)