|
|
@ -4,7 +4,7 @@ const my_domain = "osina.ositcom.com";
|
|
|
|
const session_id = document.getElementById('session_id').textContent.trim();
|
|
|
|
const session_id = document.getElementById('session_id').textContent.trim();
|
|
|
|
const current_url = document.getElementById('current_url').textContent.trim();
|
|
|
|
const current_url = document.getElementById('current_url').textContent.trim();
|
|
|
|
const referrer = document.referrer;
|
|
|
|
const referrer = document.referrer;
|
|
|
|
const visitorsSocketUrl = `${visitors_ws_scheme}://${domain}/ws/osichat/visitors/`;
|
|
|
|
const visitorsSocketUrl = `${visitors_ws_scheme}://${my_domain}/ws/osichat/visitors/`;
|
|
|
|
const visitorsSocket = new WebSocket(visitorsSocketUrl);
|
|
|
|
const visitorsSocket = new WebSocket(visitorsSocketUrl);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|