Solve crossOrigin Finally
This commit is contained in:
parent
0b4b38f6c5
commit
847b1ca419
@ -9,7 +9,7 @@ import ovh.herisson.Clyde.Services.AuthenticatorService;
|
|||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
@RestController
|
@RestController
|
||||||
@CrossOrigin(origins = "http://localhost:5173")
|
@CrossOrigin(origins = "http://localhost:5173", allowCredentials = "true")
|
||||||
public class LoginController {
|
public class LoginController {
|
||||||
private final AuthenticatorService authServ;
|
private final AuthenticatorService authServ;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user