allow https

This commit is contained in:
arc-alex
2023-12-04 17:05:07 +01:00
parent 2a3c7f28ff
commit 7f095f0f06
5 changed files with 18 additions and 15 deletions
+1
View File
@@ -1,3 +1,4 @@
export const isOnlyNumbers = /^\d+$/;
export const isIPAddress = /^((25[0-5]|(2[0-4]|1\d|[1-9]|)\d)\.?\b){4}$/;
export const startsWithHttp = /^http:\/\//;
export const startsWithHttpOrS = /^https?:\/\//;