Skip to content

Commit

Permalink
clean-ups
Browse files Browse the repository at this point in the history
  • Loading branch information
atavism committed Jun 18, 2024
1 parent d3b26c6 commit fdd5b70
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion desktop/lib.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ import (
"github.com/getlantern/lantern-client/internalsdk/common"
proclient "github.com/getlantern/lantern-client/internalsdk/pro"
"github.com/getlantern/lantern-client/internalsdk/protos"
"github.com/getlantern/lantern-client/internalsdk/webclient"
"github.com/getlantern/osversion"
"github.com/joho/godotenv"

Expand Down Expand Up @@ -79,7 +80,7 @@ func start() {

cdir := configDir(&flags)
settings := loadSettings(cdir)
proClient = proclient.NewClient(fmt.Sprintf("https://%s", common.ProAPIHost), &proclient.Opts{
proClient = proclient.NewClient(fmt.Sprintf("https://%s", common.ProAPIHost), &webclient.Opts{
HttpClient: &http.Client{
Transport: proxied.ParallelForIdempotent(),
Timeout: 30 * time.Second,
Expand Down
2 changes: 1 addition & 1 deletion internalsdk/webclient/defaultwebclient/rest.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

"github.com/getlantern/errors"
"github.com/getlantern/golog"
"github.com/getlantern/lantern-client/internalsdk/pro/webclient"
"github.com/getlantern/lantern-client/internalsdk/webclient"
"github.com/moul/http2curl"

"github.com/go-resty/resty/v2"
Expand Down

0 comments on commit fdd5b70

Please sign in to comment.