Fix WebSocket: use wss:// on HTTPS, ws:// on HTTP
Browse filesCo-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2890 unmodified lines28912892289328942895289628972890 unmodified lines}function connectWebSocket() {const wsUrl = `ws://${window.location.host}/ws/stream`;ws = new WebSocket(wsUrl);ws.onopen = () => {2890 unmodified lines289128922893289428952896289728982890 unmodified lines}function connectWebSocket() {const wsProto = window.location.protocol === 'https:' ? 'wss:' : 'ws:';const wsUrl = `${wsProto}//${window.location.host}/ws/stream`;ws = new WebSocket(wsUrl);ws.onopen = () => {
web/index.html+2-1