We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96f2d39 commit e0e2926Copy full SHA for e0e2926
src/utils/helpers.ts
@@ -76,9 +76,6 @@ export const validator = {
76
77
// Split and validate each part
78
const parts = domain.split(".");
79
- if (parts.length < 2) {
80
- return false;
81
- }
82
83
const validPart = /^[a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?$/;
84
return parts.every((part) => validPart.test(part));
0 commit comments