Skip to content

Commit

Permalink
Add aasenv upload endpoint to CORS configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusmolina-iese committed Mar 21, 2024
1 parent 946883c commit 26024c8
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,12 @@
public class AASEnvironmentConfiguration {

@Bean
public CorsPathPatternProvider getAASEnvironmentRepoCorsUrlProvider() {
public CorsPathPatternProvider getAASEnvironmentSerializationRepoCorsUrlProvider() {
return new CorsPathPatternProvider("/serialization");
}

@Bean
public CorsPathPatternProvider getAASEnvironmentUploadRepoCorsUrlProvider() {
return new CorsPathPatternProvider("/upload");
}
}

0 comments on commit 26024c8

Please sign in to comment.