Fix wininet wrapper

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

No files matched your search

+1 -1
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
}