set broadcasting in admin and setup wizard

This commit is contained in:
Čarodej
2022-03-16 09:37:17 +01:00
parent 4bab179e17
commit 9d955799d3
16 changed files with 666 additions and 161 deletions
+5 -4
View File
@@ -23,10 +23,11 @@ window.Pusher = require('pusher-js');
if (config.broadcasting) {
window.Echo = new Echo({
broadcaster: 'pusher',
key: 'local',
wsHost: window.location.hostname,
wsPort: 8002,
wssPort: 8002,
cluster: config.broadcastingCluster,
key: config.broadcastingKey,
wsHost: config.broadcastingHost,
wsPort: config.broadcastingPort,
wssPort: config.broadcastingPort,
forceTLS: false,
enabledTransports: ['ws', 'wss'],
});