Allow depth 0 and -1 in crawl UI (0=single page, -1=unlimited)

This commit is contained in:
Russell Ballestrini 2026-01-01 16:21:45 -05:00
parent 648842301f
commit 19cd3317aa

View file

@ -1695,7 +1695,7 @@ CRAWL_HTML = """
</div>
<div class="form-group">
<label>{{depth}}</label>
<input type="number" id="depth" value="9" min="1" max="15">
<input type="number" id="depth" value="9" min="-1" max="15">
</div>
<div class="form-group">
<label>{{max_pages}}</label>