gologin-commonjs 1.2.3 → 1.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/gologin.js +4 -4
- package/package.json +1 -1
package/dist/src/gologin.js
CHANGED
|
@@ -618,7 +618,7 @@ class GoLogin {
|
|
|
618
618
|
}
|
|
619
619
|
return port;
|
|
620
620
|
}
|
|
621
|
-
|
|
621
|
+
getTimeZone(proxy) {
|
|
622
622
|
debug("getting timeZone proxy=", proxy);
|
|
623
623
|
if (this.timezone) {
|
|
624
624
|
debug("getTimeZone from options", this.timezone);
|
|
@@ -811,9 +811,9 @@ class GoLogin {
|
|
|
811
811
|
params.push(arg);
|
|
812
812
|
}
|
|
813
813
|
if (proxy) {
|
|
814
|
-
const hr_rules = `"MAP * 0.0.0.0 , EXCLUDE ${proxy_host}"`;
|
|
815
|
-
params.push(`--proxy-server=${proxy}`);
|
|
816
|
-
params.push(`--host-resolver-rules=${hr_rules}`);
|
|
814
|
+
// const hr_rules = `"MAP * 0.0.0.0 , EXCLUDE ${proxy_host}"`;
|
|
815
|
+
// params.push(`--proxy-server=${proxy}`);
|
|
816
|
+
// params.push(`--host-resolver-rules=${hr_rules}`);
|
|
817
817
|
}
|
|
818
818
|
if (Array.isArray(this.extra_params) && this.extra_params.length) {
|
|
819
819
|
params = params.concat(this.extra_params);
|