fix: 修改 CORS, 删除 开发代理

This commit is contained in:
2026-03-27 20:08:58 +08:00
parent 3e3fdaac26
commit bbd554a426
2 changed files with 4 additions and 4 deletions

View File

@@ -39,8 +39,8 @@ func NewWK(username, password, host string, cookies []*http.Cookie) *WK {
req := request.NewClient(&request.Config{
UserAgent: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36 Edg/140.0.0.0",
Proxy: "http://127.0.0.1:9000",
VerifySSL: false,
// Proxy: "http://127.0.0.1:9000",
// VerifySSL: false,
})
if len(cookies) > 0 {
req.SetCookies(cookies)