chore: fix typo

This commit is contained in:
Larvan2
2023-09-24 19:00:51 +08:00
parent 89d9cb0539
commit e6366f7442
3 changed files with 4 additions and 3 deletions

View File

@@ -21,7 +21,7 @@ var (
ExternalUIName string
)
var (
ErrImcompleteConf = errors.New("ExternalUI configure incomplete")
ErrIncompleteConf = errors.New("ExternalUI configure incomplete")
)
var xdMutex sync.Mutex
@@ -66,7 +66,7 @@ func UpdateUI() error {
func prepare() error {
if ExternalUIPath == "" || ExternalUIURL == "" {
return ErrImcompleteConf
return ErrIncompleteConf
}
if ExternalUIName != "" {