Skip to content

Commit

Permalink
Merge pull request #298 from Quickchive/fix/#294-add-domain-to-cookie
Browse files Browse the repository at this point in the history
fix: add cookie option type
  • Loading branch information
stae1102 authored Mar 3, 2024
2 parents 750d9ac + d928022 commit a9a9e1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/auth/oauth.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export class OAuthService {
return CryptoJS.SHA256(email + key).toString();
}

public getCookieOption() {
public getCookieOption(): CookieOptions {
return {
domain: process.env.FRONTEND_DOMAIN,
httpOnly: true,
Expand Down

0 comments on commit a9a9e1a

Please sign in to comment.