sd
This commit is contained in:
@@ -412,8 +412,9 @@
|
||||
// Show room preview
|
||||
previewDiv.style.display = 'block';
|
||||
document.getElementById('previewId').textContent = result.room.id;
|
||||
const wsProto = window.location.protocol === 'https:' ? 'wss' : 'ws';
|
||||
document.getElementById('previewWsUrl').textContent =
|
||||
`ws://${window.location.hostname}:{{ server_port }}/ws/client/${result.room.id}/${result.room.password}`;
|
||||
`${wsProto}://${window.location.hostname}:{{ server_port }}/ws/client/${result.room.id}/${result.room.password}`;
|
||||
|
||||
// Clear form
|
||||
this.reset();
|
||||
|
||||
Reference in New Issue
Block a user