Skip to content
This repository has been archived by the owner on Sep 29, 2024. It is now read-only.

Commit

Permalink
Merge pull request #773 from SE-TINF22B6/denniskp-patch-1
Browse files Browse the repository at this point in the history
Update WebConfig.java Test
  • Loading branch information
denniskp authored May 29, 2024
2 parents 5ea722e + 5798ccd commit fb1663b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/de/tinf22b6/dhbwhub/config/WebConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**")
.allowedOrigins("http://localhost:3000", "https://www.dhbwhub.de")
.allowedMethods("GET", "POST", "PUT", "DELETE", "OPTIONS")
.allowedHeaders("Content-Type", "Authorization", "Access-Control-Allow-Origin", "Accept")
//.allowedHeaders("Content-Type", "Authorization", "Access-Control-Allow-Origin", "Accept")
.allowCredentials(true);
}
}

0 comments on commit fb1663b

Please sign in to comment.