update deps
This commit is contained in:
@@ -77,9 +77,6 @@ void initLogin(crow::App<crow::CORSHandler>& app){
|
||||
"; HttpOnly; Path=/; SameSite=Strict"
|
||||
// add "; Secure" when using HTTPS
|
||||
);
|
||||
res.set_header("Access-Control-Allow-Credentials", "true");
|
||||
res.set_header("Access-Control-Allow-Origin", "http://localhost:5173");
|
||||
|
||||
res.body = "Logged in";
|
||||
return res;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user