From 9aef385f648e3de3aba9783dd1aa5339b2d71f29 Mon Sep 17 00:00:00 2001 From: Pavel Date: Tue, 25 Jun 2019 14:46:25 +0300 Subject: [PATCH] Updated validator.go --- src/validator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/validator.go b/src/validator.go index 61b51b3..a088adf 100644 --- a/src/validator.go +++ b/src/validator.go @@ -8,7 +8,7 @@ import ( "gopkg.in/go-playground/validator.v8" ) -var regCommandName = regexp.MustCompile(`^https://?[\da-z.-]+\.(retailcrm\.(ru|pro|es)|ecomlogic\.com|simlachat\.com)/?$`) +var regCommandName = regexp.MustCompile(`^https://?[\da-z.-]+\.(retailcrm\.(ru|pro|es)|ecomlogic\.com|simlachat\.(com|ru))/?$`) func setValidation() { if v, ok := binding.Validator.Engine().(*validator.Validate); ok {