Conversation
- /api/delete-account Route Handler 추가 (Service Role Key로 auth 유저 완전 삭제) - useAuthStore에 deleteAccount 액션 추가 - UserProfileModal 하단에 회원 탈퇴 UI 추가 - '탈퇴' 직접 입력 후 버튼 활성화되는 이중 확인 방식 - 탈퇴 완료 후 자동 로그아웃 및 메인 페이지 이동 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- userId를 body로 받던 방식 제거 (타인 계정 삭제 취약점) - Authorization 헤더의 액세스 토큰으로 실제 유저 검증 후 삭제 - 클라이언트에서 supabase.auth.getSession()으로 토큰을 헤더에 포함하여 전송 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ld-time failure Next.js evaluates module-level code at build time, causing "supabaseKey is required" error when SUPABASE_SERVICE_ROLE_KEY is not available during the build phase. Moving createClient() inside the DELETE handler ensures it runs only at request time. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
📖 PR #1 — feat: 가챠 게시판 전면 개편 및 회원 탈퇴 기능 추가
📄
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
주요 변경사항
🗂️ 가챠 게시판 UI 개편
엔, 한국은원🖼️ 이미지 최적화 (wsrv.nl CDN 도입)
unoptimized: true) 비활성화 → 5000건 리밋 해소wsrvLoader공통 유틸 생성, 전체 Image 컴포넌트에 적용Promise.all병렬 업로드 지원🔐 회원 탈퇴
/api/delete-accountRoute Handler 추가 (Service Role Key로 서버에서 완전 삭제)탈퇴직접 입력 후 버튼 활성화되는 이중 확인 방식기타
supabase.ts전역cache-control: no-cache헤더 제거 (업로드 성능 개선)← 지도로 돌아가기링크 추가환경변수 추가 필요
🤖 Generated with Claude Code