fix: pusher host

This commit is contained in:
Andras Bacsai 2023-12-11 16:32:41 +01:00
parent 47202a7951
commit 35134f2327
4 changed files with 7 additions and 6 deletions

View File

@ -7,7 +7,7 @@ return [
// The release version of your application
// Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD'))
'release' => '4.0.0-beta.156',
'release' => '4.0.0-beta.157',
// When left empty or `null` the Laravel environment will be used
'environment' => config('app.env'),

View File

@ -1,3 +1,3 @@
<?php
return '4.0.0-beta.156';
return '4.0.0-beta.157';

View File

@ -44,15 +44,16 @@
</dialog>
<x-toaster-hub />
<x-version class="fixed left-2 bottom-1" />
<script data-navigate-once>
@auth
window.Pusher = Pusher;
window.Echo = new Echo({
broadcaster: 'pusher',
cluster: "{{ env('PUSHER_HOST') }}" || window.location.hostname,
cluster: "{{ env('PUSHER_HOST') }}" || "{{ App\Models\InstanceSettings::get()->public_ipv4 }}" || window
.location.hostname,
key: "{{ env('PUSHER_APP_KEY') }}" || 'coolify',
wsHost: "{{ env('PUSHER_HOST') }}" || window.location.hostname,
wsHost: "{{ env('PUSHER_HOST') }}" || "{{ App\Models\InstanceSettings::get()->public_ipv4 }}" || window
.location.hostname,
wsPort: "{{ env('PUSHER_PORT') }}" || 6001,
wssPort: "{{ env('PUSHER_PORT') }}" || 6001,
forceTLS: false,

View File

@ -4,7 +4,7 @@
"version": "3.12.36"
},
"v4": {
"version": "4.0.0-beta.156"
"version": "4.0.0-beta.157"
}
}
}