Skip to content

Commit

Permalink
feat: added V2RAY_VMESS_AEAD_FORCED=false environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
bsrinivas8687 committed Jan 25, 2024
1 parent ceded61 commit 934b433
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions services/v2ray/v2ray.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,10 @@ func (s *V2Ray) Init(home string) (err error) {
func (s *V2Ray) Start() error {
s.cmd = exec.Command("v2ray", strings.Split(
fmt.Sprintf("run --config %s", s.configFilePath()), " ")...)

s.cmd.Env = os.Environ()
s.cmd.Env = append(s.cmd.Env, "V2RAY_VMESS_AEAD_FORCED=false")

s.cmd.Stdout = os.Stdout
s.cmd.Stderr = os.Stderr

Expand Down

0 comments on commit 934b433

Please sign in to comment.