From d60e60010b13eed8b5b298afe78f1b1116fcf806 Mon Sep 17 00:00:00 2001 From: sohot8653 Date: Thu, 25 Sep 2025 16:29:33 +0900 Subject: [PATCH] =?UTF-8?q?[=ED=99=88=20=ED=99=94=EB=A9=B4=20=EC=88=98?= =?UTF-8?q?=EC=A0=95]=20=EC=B2=AB=EB=B2=88=EC=A7=B8=20=ED=83=AD=EC=9D=B4?= =?UTF-8?q?=20'=ED=99=88'=EC=9D=B4=EB=AF=80=EB=A1=9C=20/1/=20=EA=B2=BD?= =?UTF-8?q?=EB=A1=9C=EB=A1=9C=20=EB=8B=A8=EC=9D=BC=ED=99=94=ED=99=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- middleware/auth.global.ts | 4 +- pages/index.vue | 113 +------------------------------------- 2 files changed, 3 insertions(+), 114 deletions(-) diff --git a/middleware/auth.global.ts b/middleware/auth.global.ts index d1a8c24..5691463 100644 --- a/middleware/auth.global.ts +++ b/middleware/auth.global.ts @@ -16,8 +16,8 @@ export default defineNuxtRouteMiddleware(async (to, _from) => { // 로그인된 사용자의 경우 권한 체크 if (userStore.isLoggedIn) { - // 루트 경로는 항상 허용 - if (to.path === "/") { + // 홈화면 경로는 항상 허용 + if (to.path === "/" || to.path === "/1/") { return; } diff --git a/pages/index.vue b/pages/index.vue index 0ad389d..b083272 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -1,116 +1,5 @@ - - - -