Fix typos (#764)

Found via `codespell -S static,data -L selct`
This commit is contained in:
Kian-Meng Ang
2024-11-18 14:08:29 +08:00
committed by GitHub
parent 7fe302ed7c
commit 08b1ea71e7
5 changed files with 6 additions and 6 deletions

View File

@@ -215,7 +215,7 @@ func startServer() {
err := router.Run(fmt.Sprintf("%v:%v", options.HTTPHost, options.HTTPPort))
if err != nil {
fmt.Println("Cant start server:", err)
fmt.Println("Can't start server:", err)
if strings.Contains(err.Error(), "address already in use") {
openPage()
}