feat: 다크 테마 및 메인페이지 리디자인#17
Merged
Merged
Conversation
변경사항: overallTopPercentage가 아닌, wargameTopPercentage로 변경
변경 사항: 1. /api/stats 라우터에 userId 파라미터가 아닌, username 파라미터를 전달하여 사용자 상태 정보를 받아올 수 있도록 변경 2. 사용자 상태를 받아오는 코드를 utils 함수로 분리 3. 현재 기능에서 불필요한 Types 제거
이 코드 변경은 `api/index.ts` 파일에 새로운 라우트 `/api/warmup`을 추가합니다. 이 라우트는 Vercel 서버의 웜업을 위해 사용됩니다. 마지막 랭크를 가져와서 성공 메시지와 함께 마지막 랭크를 반환합니다. 웜업 과정 중 오류가 발생하면 오류를 로그로 기록하고 실패 메시지를 반환합니다.
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.
변경사항