Skip to content

Commit

Permalink
chore: raise custom URL minlength limit
Browse files Browse the repository at this point in the history
Signed-off-by: Evan Song <[email protected]>
  • Loading branch information
ferothefox committed Oct 18, 2024
1 parent 70f1651 commit c24e8a3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
.modrinth.gg
</div>
<span v-if="!isValidSubdomain" class="text-sm text-rose-400">
Subdomain must be at least 3 characters long and can only contain alphanumeric
Subdomain must be at least 5 characters long and can only contain alphanumeric
characters, dashes, and underscores.
</span>
</div>
Expand Down Expand Up @@ -252,7 +252,7 @@ const newAllocationPort = ref(0);
const hasUnsavedChanges = computed(() => serverSubdomain.value !== data?.value?.net?.domain);
const isValidSubdomain = computed(() => /^[a-zA-Z0-9-_]{3,}$/.test(serverSubdomain.value));
const isValidSubdomain = computed(() => /^[a-zA-Z0-9-_]{5,}$/.test(serverSubdomain.value));
const addNewAllocation = async () => {
if (!newAllocationName.value) return;
Expand Down

0 comments on commit c24e8a3

Please sign in to comment.