remove tls from epoxy-server

This commit is contained in:
Toshit Chawda 2024-03-02 16:51:16 -08:00
parent 1bf1a809bd
commit b36773e5d1
No known key found for this signature in database
GPG key ID: 91480ED99E2B3D9D
4 changed files with 10 additions and 32 deletions

View file

@ -21,7 +21,7 @@ onmessage = async (msg) => {
const tconn0 = performance.now();
// args: websocket url, user agent, redirect limit
let epoxy_client = await new EpoxyClient("wss://localhost:4000", navigator.userAgent, 10);
let epoxy_client = await new EpoxyClient("ws://localhost:4000", navigator.userAgent, 10);
const tconn1 = performance.now();
log(`conn establish took ${tconn1 - tconn0} ms or ${(tconn1 - tconn0) / 1000} s`);