fix: use localhost instead of 127.0.0.1

This commit is contained in:
lilong.129
2025-05-27 20:16:10 +08:00
parent 866cc0e4d2
commit 229fd4678c
5 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -138,7 +138,7 @@ func (wd *WDADriver) Setup() error {
if err != nil {
return err
}
wd.Session.SetBaseURL(fmt.Sprintf("http://127.0.0.1:%d", localPort))
wd.Session.SetBaseURL(fmt.Sprintf("http://localhost:%d", localPort))
if err = wd.initMjpegClient(); err != nil {
return err