Skip to content

Commit fb9c113

Browse files
committed
Remove secure attribute in cookies so browsers can set cookies when proxying to https
1 parent 3656df1 commit fb9c113

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ class JsonCachingProxy {
6464
let cookieParts = c.split(';');
6565
let newCookieParts = [];
6666

67+
console.log(cookieParts);
68+
6769
cookieParts.forEach(c => {
6870
if (c.indexOf('domain') === -1 && c.indexOf('secure') === -1) {
6971
newCookieParts.push(c);

0 commit comments

Comments
 (0)