Skip to content

Commit 5ffe526

Browse files
Merge pull request #10 from Crowdhandler/maintenance/clientside-cookie-access
Support for Javascript/Server-Side hybrid implementations
2 parents 999416e + 52b157a commit 5ffe526

4 files changed

Lines changed: 2 additions & 2 deletions

File tree

dist/originOverride.zip

0 Bytes
Binary file not shown.

dist/viewerRequest.zip

0 Bytes
Binary file not shown.

dist/viewerResponse.zip

-4 Bytes
Binary file not shown.

handlerViewerResponse.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ module.exports.viewerResponse = async (event) => {
7474
if (response.headers["set-cookie"]) {
7575
response.headers["set-cookie"].push({
7676
key: "Set-Cookie",
77-
value: `crowdhandler=${crowdhandlerToken}; path=/; Secure; HttpOnly`,
77+
value: `crowdhandler=${crowdhandlerToken}; path=/; Secure;`,
7878
});
7979
response.headers["set-cookie"].push({
8080
key: "Set-Cookie",
@@ -84,7 +84,7 @@ module.exports.viewerResponse = async (event) => {
8484
response.headers["set-cookie"] = [
8585
{
8686
key: "Set-Cookie",
87-
value: `crowdhandler=${crowdhandlerToken}; path=/; Secure; HttpOnly`,
87+
value: `crowdhandler=${crowdhandlerToken}; path=/; Secure;`,
8888
},
8989
];
9090
response.headers["set-cookie"].push({

0 commit comments

Comments
 (0)