mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
24 lines
858 B
JavaScript
24 lines
858 B
JavaScript
import _ from 'lodash';
|
|
window._ = _;
|
|
|
|
/**
|
|
* Echo exposes an expressive API for subscribing to channels and listening
|
|
* for events that are broadcast by Laravel. Echo and event broadcasting
|
|
* allows your team to easily build robust real-time web applications.
|
|
*/
|
|
|
|
// import Echo from 'laravel-echo';
|
|
|
|
// import Pusher from 'pusher-js';
|
|
// window.Pusher = Pusher;
|
|
|
|
// window.Echo = new Echo({
|
|
// broadcaster: 'pusher',
|
|
// key: import.meta.env.VITE_PUSHER_APP_KEY,
|
|
// wsHost: import.meta.env.VITE_PUSHER_HOST ? import.meta.env.VITE_PUSHER_HOST : `ws-${import.meta.env.VITE_PUSHER_APP_CLUSTER}.pusher.com`,
|
|
// wsPort: import.meta.env.VITE_PUSHER_PORT ?? 80,
|
|
// wssPort: import.meta.env.VITE_PUSHER_PORT ?? 443,
|
|
// forceTLS: (import.meta.env.VITE_PUSHER_SCHEME ?? 'https') === 'https',
|
|
// enabledTransports: ['ws', 'wss'],
|
|
// });
|