@ -37,8 +37,9 @@
</div>
<script>
const wsProtocol = window.location.protocol === 'https:' ? 'wss:' : 'ws:';
const statusSocket = new WebSocket(
'wss://' + window.location.host + '/ws/status/'
`${wsProtocol}//${window.location.host}/ws/status/`
);
function updateConnectionStatus(connected) {