Skip to content

Commit

Permalink
Update regex for url in wizard
Browse files Browse the repository at this point in the history
  • Loading branch information
TheophileDiot committed Dec 26, 2023
1 parent 5f74b35 commit fbbe6b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/templates/setup.html
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ <h2 class="col-span-12 block text-left font-bold my-4 text-2xl">
class="col-span-12 disabled:opacity-75 focus:valid:border-green-500 focus:invalid:border-red-500 outline-none focus:border-primary text-sm leading-5.6 ease block w-full appearance-none rounded-lg border border-solid border-gray-300 bg-white bg-clip-padding px-4 py-2 font-normal text-gray-700 transition-all placeholder:text-gray-500"
placeholder="/admin"
value="{{ random_url }}"
pattern="\/(.*[a-z])"
pattern="\/[a-zA-Z0-9-]{1,255}$"
required
/>
</div>
Expand Down

0 comments on commit fbbe6b4

Please sign in to comment.