Skip to content

Commit

Permalink
chore: .
Browse files Browse the repository at this point in the history
  • Loading branch information
14790897 committed Jul 9, 2024
1 parent 416c3a5 commit 103b542
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions bypasscf.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,14 @@ async function launchBrowserForUser(username, password) {
};

// 如果环境变量不是 'dev',则添加代理配置
if (process.env.ENVIRONMENT !== "dev") {
browserOptions["proxy"] = {
host: "216.98.11.172",
port: "54651",
username: "T5kQrKCwXZ",
password: "jH51RWYSkr",
};
}
// if (process.env.ENVIRONMENT !== "dev") {
// browserOptions["proxy"] = {
// host: "216.98.11.172",
// port: "54651",
// username: "T5kQrKCwXZ",
// password: "jH51RWYSkr",
// };
// }

var { connect } = await import("puppeteer-real-browser");
const { page, browser } = await connect(
Expand Down

0 comments on commit 103b542

Please sign in to comment.