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

Commit

Permalink
Update WebConfig.java Test
Browse files Browse the repository at this point in the history
  • Loading branch information
denniskp authored May 29, 2024
1 parent 5ea722e commit 5798ccd
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 5798ccd

Please sign in to comment.