Skip to content

Commit 80cdbab

Browse files
authored
Merge pull request #6 from TeamProject-Daewoo/dev
fix: 라우터 url
2 parents 2e9376e + 94d01cf commit 80cdbab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/router/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ function handleNavigation(to, from, next) {
7272
if (to.meta.requiresAuth && !isLoggedIn) {
7373
const uiStore = useUiStore();
7474
uiStore.openModal('로그인이 필요한 서비스입니다.')
75-
return next({ name: 'Home', query: { redirect: to.fullPath } })
75+
return next('/');
7676
}
7777

7878
// B. 비로그인 상태여야 하는 페이지인데, 로그인한 경우

0 commit comments

Comments
 (0)