jfyne / live

Live views and components for golang

Home Page:https://discord.gg/TuMNaXJMUG

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Client always using ws protocol

matgomes opened this issue · comments

When navigating on a https page, there's a mixed content problem when trying to connect to websocket

this.conn = new WebSocket(`ws://${location.host}${location.pathname}`);

I forgot all about that, nice one

Released, thanks!