diff --git a/backend/routers/inbox.py b/backend/routers/inbox.py index e491bfe..b2fab5c 100644 --- a/backend/routers/inbox.py +++ b/backend/routers/inbox.py @@ -11,7 +11,7 @@ from database.schemas import ( ) from routers.auth import get_current_user, get_current_admin -router = APIRouter(prefix="/inbox", tags=["inbox"]) +router = APIRouter(prefix="/api/inbox", tags=["inbox"]) @router.get("/", response_model=List[InboxIssue]) async def get_inbox_issues( diff --git a/frontend/index.html b/frontend/index.html index f69470e..4533065 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -487,8 +487,10 @@ // localStorage에도 백업 저장 localStorage.setItem('currentUser', JSON.stringify(user)); - // 공통 헤더 초기화 - await window.commonHeader.init(user, 'issues_create'); + // 공통 헤더 초기화 + console.log('🔧 공통 헤더 초기화 시작:', user); + await window.commonHeader.init(user, 'issues_create'); + console.log('✅ 공통 헤더 초기화 완료'); // 페이지 접근 권한 체크 (부적합 등록 페이지) setTimeout(() => {