Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
lifegpc committed May 26, 2024
1 parent 316492e commit bdc320d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/api/token.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export const handler: Handlers = {
headers["Set-Cookie"] =
`token=${token.token}; Expires=${token.expired.toUTCString()}${
http_only ? "; HttpOnly" : ""
}${secure ? "; Secure" : ""}; Path=/api`;
}${secure ? "; SameSite=None; Secure" : ""}; Path=/api`;
}
return return_data(token, 201, headers);
},
Expand Down

0 comments on commit bdc320d

Please sign in to comment.