Commit 7c61fd5a authored by Cédric F.'s avatar Cédric F.

Don't prefix endpoints with pathname

This might happen if the user types in the URL manually.
parent 28c9bda3
Pipeline #14645030 (#) passed with stage
in 1 minute and 16 seconds
......@@ -371,8 +371,7 @@ extractRPCEndpoint location =
String.concat
[ "https://"
, location.host
, location.pathname
, "rpc"
, "/rpc"
]
......@@ -381,8 +380,7 @@ extractWSEndpoint location =
String.concat
[ "wss://"
, location.host
, location.pathname
, "ws"
, "/ws"
]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment