From f01b1c73abbf3e5d1aad4effce0ac0e7f0a034c1 Mon Sep 17 00:00:00 2001 From: Fellyph Cintra Date: Thu, 22 Feb 2024 12:54:29 +0000 Subject: [PATCH] adding extra dot to domain property --- src/demos/storage-access-api/routes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/demos/storage-access-api/routes.js b/src/demos/storage-access-api/routes.js index f0dad07..cd5961f 100644 --- a/src/demos/storage-access-api/routes.js +++ b/src/demos/storage-access-api/routes.js @@ -31,7 +31,7 @@ router.post( '/set-personalization', ( req, res ) => { } res.cookie('theme', theme, { - domain: res.locals.domainC, + domain: `.${res.locals.domainC}`, maxAge: 30 * 24 * 60 * 60 * 1000, // 30 days httpOnly: true, sameSite: "none",