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

비로그인 유저가 board로 들어가서 무한 리다이렉트 일어나는 문제 해결 #111

Merged
merged 1 commit into from
Dec 29, 2024

Conversation

BumgeunSong
Copy link
Owner

  • 로직 반전:
    로그인 페이지는 비로그인 사용자만 접근 가능
    로그인된 사용자는 /boards로 리다이렉트

  • replace 속성 추가:
    replace prop을 사용하여 브라우저 히스토리 스택이 쌓이는 것을 방지

  • 루트 경로 처리 개선:
    로그인 상태에 따라 적절한 페이지로 리다이렉트

  • 명확한 조건부 리다이렉션:
    각 라우트의 리다이렉션 조건을 명확하게 정의

@BumgeunSong BumgeunSong self-assigned this Dec 29, 2024
@BumgeunSong BumgeunSong merged commit dcc2d95 into main Dec 29, 2024
2 checks passed
Copy link

Visit the preview URL for this PR (updated for commit b8e1aa5):

https://artico-app-4f9d4--pr111-fix-redirect-r26ebk2g.web.app

(expires Sun, 05 Jan 2025 15:01:39 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 28a2175c2dcc0b022ca0588f62a1bbc55f051f03

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant