feat: 사이트 검사 최대 페이지 수 무제한 옵션 추가

- max_pages=0으로 무제한 모드 지원 (안전 상한 500페이지)
- 프론트엔드에 "무제한" 버튼 추가

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
jungwoo choi
2026-02-13 17:14:32 +09:00
parent 81b9104aea
commit 3e224d221a
3 changed files with 9 additions and 5 deletions

View File

@ -12,8 +12,8 @@ import { useInspectionStore } from "@/stores/useInspectionStore";
import { useSiteInspectionStore } from "@/stores/useSiteInspectionStore";
import { cn } from "@/lib/utils";
/** 최대 페이지 수 옵션 */
const MAX_PAGES_OPTIONS = [10, 20, 50] as const;
/** 최대 페이지 수 옵션 (0 = 무제한) */
const MAX_PAGES_OPTIONS = [10, 20, 50, 0] as const;
/** 크롤링 깊이 옵션 */
const MAX_DEPTH_OPTIONS = [1, 2, 3] as const;
@ -218,7 +218,7 @@ export function UrlInputForm() {
)}
onClick={() => setMaxPages(option)}
>
{option}
{option === 0 ? "무제한" : option}
</Button>
))}
</div>