1
0
mirror of https://github.com/h3poteto/whalebird-desktop synced 2025-02-06 04:13:36 +01:00

Update validator.ts

This commit is contained in:
Stephan Fabel 2022-11-10 08:12:53 -08:00 committed by GitHub
parent cea7af75fe
commit ab24d9775f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,}$/