Skip to content

Commit

Permalink
fix: Fix the SubDomian input validation
Browse files Browse the repository at this point in the history
- Lowercase the subdomain to avoid the validation issues
  • Loading branch information
Mahmoud-Emad committed Aug 8, 2024
1 parent 6436e49 commit 639bc50
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ export default {
(props.vm.projectName.toLowerCase().includes(ProjectName.Fullvm.toLowerCase()) ? "fvm" : "vm") +
grid.config.twinId;
prefix.value = oldPrefix.value + props.vm.name;
subdomain.value = generateName({ prefix: prefix.value }, 4);
subdomain.value = generateName({ prefix: prefix.value }, 4).toLowerCase();
await loadGateways();
getSupportedNetworks();
});
Expand Down

0 comments on commit 639bc50

Please sign in to comment.