Skip to content

Commit

Permalink
fix(config): STREAM_ONLY should set StreamOnly flag for server sele…
Browse files Browse the repository at this point in the history
…ction (#2126)
  • Loading branch information
komachi authored and qdm12 committed Aug 9, 2024
1 parent ef5f521 commit 329fee5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/configuration/sources/env/serverselection.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,14 @@ func (s *Source) readServerSelection(vpnProvider, vpnType string) (
return ss, err
}

// VPNUnlimited only
// Surfshark only
ss.MultiHopOnly, err = s.env.BoolPtr("MULTIHOP_ONLY")
if err != nil {
return ss, err
}

// VPNUnlimited only
ss.MultiHopOnly, err = s.env.BoolPtr("STREAM_ONLY")
ss.StreamOnly, err = s.env.BoolPtr("STREAM_ONLY")
if err != nil {
return ss, err
}
Expand Down

0 comments on commit 329fee5

Please sign in to comment.