Skip to content

Commit

Permalink
Set https proxy
Browse files Browse the repository at this point in the history
The HTTPS proxy in gnome doesn't set before and cause that tunnel doesn't work for HTTPS websites.
In this commit, the https proxy is set.
  • Loading branch information
mghahari authored Jan 4, 2022
1 parent 468552c commit 2a9e952
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/utils/system-proxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ class LinuxSystemProxy extends SystemProxy {
await exec('gsettings set org.gnome.system.proxy mode manual');
await exec(`gsettings set org.gnome.system.proxy.http host ${ip}`);
await exec(`gsettings set org.gnome.system.proxy.http port ${port}`);
await exec(`gsettings set org.gnome.system.proxy.https host ${ip}`);
await exec(`gsettings set org.gnome.system.proxy.https port ${port}`);
}

static async unsetProxy() {
Expand Down

0 comments on commit 2a9e952

Please sign in to comment.