Fix wininet wrapper

This commit is contained in:
世界
2022-08-06 17:28:51 +08:00
parent dfa10d4ebe
commit 01bace7769
5 changed files with 7 additions and 7 deletions

View File

@@ -7,7 +7,7 @@ import (
)
func SetSystemProxy(router adapter.Router, port uint16, isMixed bool) (func() error, error) {
err := wininet.SetSystemProxy(F.ToString("http://127.0.0.1:", port), "local")
err := wininet.SetSystemProxy(F.ToString("http://127.0.0.1:", port), "<local>")
if err != nil {
return nil, err
}