docs: Embedded Redis 반영 가이드 업데이트 + auth guard 경고 수정
- 설치가이드_OnPremise.pdf: Redis를 선택 사항으로 변경, Embedded Redis 안내 - 개발자가이드.pdf: Docker/Redis 필수 → 선택, Embedded Redis 자동 구동 안내 - 개발환경_사전설치_가이드.txt: Docker/Redis 섹션 Embedded Redis 기반으로 수정 - regenerate_pdfs.py: PDF 재생성 스크립트 추가 - auth.guard.ts: Vue Router deprecated next() 콜백 → return 방식으로 수정 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
이 Commit은 다음에 포함되어 있습니다:
@@ -2,10 +2,9 @@ import type { NavigationGuardWithThis } from 'vue-router';
|
||||
import { authService } from './auth.service';
|
||||
import { useAuthStore } from '@/modules/auth/auth.store';
|
||||
|
||||
export const authGuard: NavigationGuardWithThis<undefined> = async (_to, _from, next) => {
|
||||
export const authGuard: NavigationGuardWithThis<undefined> = async (_to, _from) => {
|
||||
if (!authService.isAuthenticated()) {
|
||||
next({ name: 'login' });
|
||||
return;
|
||||
return { name: 'login' };
|
||||
}
|
||||
|
||||
const authStore = useAuthStore();
|
||||
@@ -13,5 +12,5 @@ export const authGuard: NavigationGuardWithThis<undefined> = async (_to, _from,
|
||||
await authStore.fetchMe();
|
||||
}
|
||||
|
||||
next();
|
||||
return true;
|
||||
};
|
||||
|
||||
새 Issue에서 참조
사용자 차단