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

如何在订阅连接上使用/poxyip=ip拼接来进行更换poxyip? #327

Open
billy74 opened this issue Oct 28, 2024 · 1 comment
Open

Comments

@billy74
Copy link

billy74 commented Oct 28, 2024

我看是支持这个功能的,但是高阶玩法的介绍好像有点少,摸索失败,来此求助

@eRadius
Copy link

eRadius commented Oct 29, 2024

我看是支持这个功能的,但是高阶玩法的介绍好像有点少,摸索失败,来此求助

简单方便点的直接用 pathname 做就可以了.
你搜索 return await vlessOverWSHandler(request);
在这上面加句 (u => u.pathname != '/' && (proxyIP = u.pathname.slice(1)))(new URL(request.url))
那你客户端 path 填入 /地址或域名 即可 :)

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

No branches or pull requests

2 participants