Skip to content

Commit

Permalink
Merge pull request #248 from mateusmolina-iese/bug/aasenv-upload-cors
Browse files Browse the repository at this point in the history
Add AAS Environment Upload Endpoint to CORS Configuration
  • Loading branch information
FrankSchnicke committed Mar 21, 2024
2 parents 946883c + 26024c8 commit 34a5cd7
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 34a5cd7

Please sign in to comment.