From fd095120d84d1458fd69affc720a88af3f68ed1e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 26 Aug 2026 15:59:36 +0200 Subject: [PATCH] warp-ws: use wss when charger URI is https (#33184) --- charger/warp-ws.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/charger/warp-ws.go b/charger/warp-ws.go index d74e3a396..2b828232c 100644 --- a/charger/warp-ws.go +++ b/charger/warp-ws.go @@ -235,7 +235,11 @@ func parseURI(uri string) (string, error) { return "", err } - u.Scheme = "ws" + if u.Scheme == "https" { + u.Scheme = "wss" + } else { + u.Scheme = "ws" + } u.Path = path.Join(u.Path, "/ws") return u.String(), nil