Skip to content

Commit

Permalink
adding extra dot to domain property
Browse files Browse the repository at this point in the history
  • Loading branch information
fellyph committed Feb 22, 2024
1 parent 215134c commit f01b1c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/demos/storage-access-api/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit f01b1c7

Please sign in to comment.