pusher host setup

This commit is contained in:
Čarodej
2022-03-11 08:58:54 +01:00
parent 28d99cce78
commit da27c47d7a
3 changed files with 73 additions and 73 deletions

View File

@@ -23,7 +23,7 @@ window.Pusher = require('pusher-js');
window.Echo = new Echo({
broadcaster: 'pusher',
key: 'local',
wsHost: config.ip,
wsHost: window.location.hostname,
wsPort: 6001,
forceTLS: false
forceTLS: ! config.isDev
});