Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: correct type for vmess.ws-opts.path in ConvertsV2Ray #1145

Merged
merged 1 commit into from
May 21, 2024

Conversation

Xiami2012
Copy link

It should be a string for the following reasons:

  1. During conversion, it is conditionally assigned with wsOpts["path"] = path.(string)
  2. After conversion, it is decoded into WSOptions.Path in adapter/outbound/vmess.go which requires a string.

It should be a string for the following reasons:
1. During conversion, it is conditionally assigned with
   `wsOpts["path"] = path.(string)`
2. After conversion, it is decoded into `WSOptions.Path` in
   `adapter/outbound/vmess.go` which requires a string.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants