Skip to content

Commit b4aa9c4

Browse files
Feat: cors
1 parent ff5d853 commit b4aa9c4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

backend/src/main/java/com/danielfreitassc/backend/infra/security/SecurityConfigurations.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ public CorsConfigurationSource corsConfigurationSource() {
5858
configuration.setAllowCredentials(true);
5959
// Trocar pelo ip da maquina que vai rodar o front
6060
configuration.addAllowedOrigin("http://localhost:3000");
61+
configuration.addAllowedOrigin("https://localhost:7777");
6162
configuration.addAllowedMethod(HttpMethod.POST);
6263
configuration.addAllowedMethod(HttpMethod.GET);
6364
configuration.addAllowedMethod(HttpMethod.PUT);

0 commit comments

Comments
 (0)