🐞 fix: change url validation to require scheme and allow path

This commit is contained in:
Keith Solomon
2025-05-29 07:15:29 -05:00
parent de88a320d7
commit c6070dffeb
4 changed files with 8 additions and 1369 deletions

View File

@@ -3,8 +3,8 @@
<legend class="fieldset-legend h3">Start a new test</legend>
<div class="flex gap-0">
<div class="w-fit m-0 p-0">
<input type="text" class="input w-full border-r-0 rounded-r-none" name="domain" id="domain" placeholder="Site/URL to test" />
<p class="label pt-2">Add either single URL or link to sitemap</p>
<input type="text" class="input w-full border-r-0 rounded-r-none" name="domain" id="domain" placeholder="https://example.com/" />
<p class="label pt-2">Single URL or link to sitemap, including "http" or "https"</p>
</div>
<button type="submit" class="btn btn-info">Test</button>
</div>