Update validator.ts
This commit is contained in:
parent
cea7af75fe
commit
ab24d9775f
|
@ -1 +1,2 @@
|
|||
// eslint-disable-next-line
|
||||
export const domainFormat = /^(((?!\-))(xn\-\-)?[a-z0-9\-_]{0,61}[a-z0-9]{1,1}\.)*(xn\-\-)?([a-z0-9\-]{1,61}|[a-z0-9\-]{1,30})\.[a-z]{2,}$/
|
||||
|
|
Loading…
Reference in New Issue