[홈 화면 수정] 첫번째 탭이 '홈'이므로 /1/ 경로로 단일화화
This commit is contained in:
@@ -16,8 +16,8 @@ export default defineNuxtRouteMiddleware(async (to, _from) => {
|
||||
|
||||
// 로그인된 사용자의 경우 권한 체크
|
||||
if (userStore.isLoggedIn) {
|
||||
// 루트 경로는 항상 허용
|
||||
if (to.path === "/") {
|
||||
// 홈화면 경로는 항상 허용
|
||||
if (to.path === "/" || to.path === "/1/") {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user