Skip to content

Commit

Permalink
s
Browse files Browse the repository at this point in the history
  • Loading branch information
KamyarTaher committed Nov 8, 2024
1 parent 9362e01 commit 82d0a9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/backendAPI/backendAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const createApi = () => {

let api = createApi();
function setAccessTokenCookie(token: string) {
document.cookie = `refreshToken=${token}; path=/; HttpOnly; Secure; SameSite=None; Max-Age=86400;`;
document.cookie = `refreshToken=${token}; path=/; Secure; SameSite=None; Max-Age=86400;`;
}

// document.cookie = `refreshToken=${token}; Path=/; Max-Age=86400; HttpOnly; Secure; SameSite=None`;
Expand Down

0 comments on commit 82d0a9f

Please sign in to comment.