Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Cookieのsecure属性を開発時のみ付ける #823

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

tufusa
Copy link
Member

@tufusa tufusa commented Dec 16, 2024

close #817

@tufusa tufusa added backend Related to kcmsx/kcms 改善 labels Dec 16, 2024
@tufusa tufusa self-assigned this Dec 16, 2024
@tufusa tufusa enabled auto-merge (squash) December 16, 2024 12:31
Copy link

cloudflare-workers-and-pages bot commented Dec 16, 2024

Deploying kcmsx with  Cloudflare Pages  Cloudflare Pages

Latest commit: 81967e4
Status: ✅  Deploy successful!
Preview URL: https://6c40bf43.kcmsx.pages.dev
Branch Preview URL: https://chore-817-cookie-secure-only.kcmsx.pages.dev

View logs

Comment on lines +15 to +17
await fetch(`${import.meta.env.VITE_API_URL}/logout`).catch(
() => undefined
);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[optional] 非自明な気がするのでコメントなりPRのdiscriptionに書くなりしてほしいかも

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

どの辺が非自明なのかうまく汲み取れなかったので教えてほしいです(.catch(() => undefined)自体は他の箇所でも使っていますが、これですか?)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(.catch(() => undefined)自体は他の箇所でも使っていますが、これですか?)

多分これエラーを握り潰してるんだろうけど、できればToDoコメント or できない理由を書いておいてほしいなと思った

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Related to kcmsx/kcms 改善
Projects
Status: 👀 In review
Development

Successfully merging this pull request may close these issues.

chore: 開発時のCookieにsecure: true属性を付けない
2 participants