mirror of
https://github.com/laravel/laravel.git
synced 2025-02-20 11:53:14 +08:00
Changing .env to make Pusher work without editing the commented out part in the bootstrap.js (#6021)
* edit file * This works for null, undefined and '', because it's JavaScript
This commit is contained in:
parent
48e3855963
commit
d938bfd0d0
2
resources/js/bootstrap.js
vendored
2
resources/js/bootstrap.js
vendored
@ -26,7 +26,7 @@ window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';
|
||||
// window.Echo = new Echo({
|
||||
// broadcaster: 'pusher',
|
||||
// key: import.meta.env.VITE_PUSHER_APP_KEY,
|
||||
// wsHost: import.meta.env.VITE_PUSHER_HOST ?? `ws-${import.meta.env.VITE_PUSHER_APP_CLUSTER}.pusher.com`,
|
||||
// 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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user