From 8fdfb470cb3c130f0d0e3bde1adc9b7e4edb1981 Mon Sep 17 00:00:00 2001 From: Anthony Debucquoy Date: Sat, 9 Mar 2024 18:54:46 +0100 Subject: [PATCH] fixing the origin requests once and for all --- .../main/java/ovh/herisson/Clyde/EndPoints/LoginController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main/java/ovh/herisson/Clyde/EndPoints/LoginController.java b/backend/src/main/java/ovh/herisson/Clyde/EndPoints/LoginController.java index 8c687ee..e43f0a1 100644 --- a/backend/src/main/java/ovh/herisson/Clyde/EndPoints/LoginController.java +++ b/backend/src/main/java/ovh/herisson/Clyde/EndPoints/LoginController.java @@ -9,7 +9,7 @@ import ovh.herisson.Clyde.Services.AuthenticatorService; import java.util.Date; @RestController -@CrossOrigin(origins = "http://localhost:5173", allowCredentials = "true") +@CrossOrigin(originPatterns = "*", allowCredentials = "true") public class LoginController { private final AuthenticatorService authServ;