Updated validator.go
This commit is contained in:
parent
b148cae917
commit
9aef385f64
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue