update deps

This commit is contained in:
2026-02-22 13:20:41 +01:00
parent ce20ca6b35
commit ea90f8bc7f
3 changed files with 6 additions and 15 deletions

View File

@@ -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;
});