Skip to content

Commit

Permalink
Merge b829a38 into d76ce23
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyperkid123 authored May 13, 2024
2 parents d76ce23 + b829a38 commit 3a1e0cf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/auth/setCookie.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ export async function setCookie(token: string, expiresAt: number) {
setCookieWrapper(`${cookieName}=${token};` + `path=/api/automation-hub;` + `secure=true;` + `expires=${getCookieExpires(expiresAt)}`);
setCookieWrapper(`${cookieName}=${token};` + `path=/api/remediations/v1;` + `secure=true;` + `expires=${getCookieExpires(expiresAt)}`);
setCookieWrapper(`${cookieName}=${token};` + `path=/api/edge/v1;` + `secure=true;` + `expires=${getCookieExpires(expiresAt)}`);
setCookieWrapper(
`${cookieName}=${token};` + `path=/api/crc-pdf-generator/v2/download;` + `secure=true;` + `expires=${getCookieExpires(expiresAt)}`
);
}
}
}

0 comments on commit 3a1e0cf

Please sign in to comment.