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 committed Mar 18, 2024
1 parent e201856 commit 84d00b4
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 84d00b4

Please sign in to comment.