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.
미들웨어로 구현할려고 했지만
저희의 토큰이 localStorage에 저장되어 있습니다.
이 방식으로 할때는 Cookie를 새로 만들어주거나 부가적인 작업이 더 필요해집니다
그래서 일단은 layout에서 체크해서 리다이렉트 시키는 방식으로 구현하였습니다