mirror of
https://github.com/MetaCubeX/Clash.Meta.git
synced 2025-04-18 08:20:53 +00:00
chore: fix typo
This commit is contained in:
parent
7c8f451892
commit
6955fd7e28
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ func NewHostValueByDomain(domain string) (HostValue, error) {
|
|||
domain = strings.Trim(domain, ".")
|
||||
item := strings.Split(domain, ".")
|
||||
if len(item) < 2 {
|
||||
return HostValue{}, errors.New("invaild domain")
|
||||
return HostValue{}, errors.New("invalid domain")
|
||||
}
|
||||
return HostValue{
|
||||
IsDomain: true,
|
||||
|
|
Loading…
Add table
Reference in a new issue