mirror of
https://github.com/XTLS/Xray-core.git
synced 2026-07-03 18:28:52 +00:00
refactor: switch browser dialer to browser:// dialerProxy collection
Agent-Logs-Url: https://github.com/XTLS/Xray-core/sessions/84d72770-6ad0-447a-8d86-94d692972a05 Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
7416fd225e
commit
be9a229d68
@@ -119,7 +119,7 @@ func dialWebSocket(ctx context.Context, dest net.Destination, streamSettings *in
|
||||
|
||||
browserDialer := ""
|
||||
if streamSettings.SocketSettings != nil {
|
||||
if browser_dialer.HasConfiguredURL(streamSettings.SocketSettings.DialerProxy) {
|
||||
if browser_dialer.IsBrowserDialerProxy(streamSettings.SocketSettings.DialerProxy) {
|
||||
browserDialer = streamSettings.SocketSettings.DialerProxy
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user