Skip to content

Commit

Permalink
fix: STREAM_ONLY env should set StreamOnly flag for server selection
Browse files Browse the repository at this point in the history
  • Loading branch information
komachi committed Mar 12, 2024
1 parent e201856 commit 87c8dcc
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 87c8dcc

Please sign in to comment.