fix: 대시보드 mode 배지 os.getenv 대신 settings.MODE 사용 (#237) #239
Reference in New Issue
Block a user
Delete Branch "feature/issue-237-dashboard-mode-badge-fix"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
문제
os.getenv("MODE")는 pydantic-settings가 처리한 .env 값을 읽지 못해 항상paper를 반환함.수정
create_dashboard_app(db_path, mode)에mode파라미터 추가main.py에서settings.MODE를 직접 전달Closes #237
os.getenv("MODE")는 .env 파일을 읽지 못해 항상 paper를 반환함. create_dashboard_app에 mode 파라미터 추가 후 main.py에서 settings.MODE를 직접 전달하도록 수정. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>