fix: pusher host
This commit is contained in:
parent
47202a7951
commit
35134f2327
@ -7,7 +7,7 @@ return [
|
|||||||
|
|
||||||
// The release version of your application
|
// The release version of your application
|
||||||
// Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD'))
|
// 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
|
// When left empty or `null` the Laravel environment will be used
|
||||||
'environment' => config('app.env'),
|
'environment' => config('app.env'),
|
||||||
|
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
return '4.0.0-beta.156';
|
return '4.0.0-beta.157';
|
||||||
|
@ -44,15 +44,16 @@
|
|||||||
</dialog>
|
</dialog>
|
||||||
<x-toaster-hub />
|
<x-toaster-hub />
|
||||||
<x-version class="fixed left-2 bottom-1" />
|
<x-version class="fixed left-2 bottom-1" />
|
||||||
|
|
||||||
<script data-navigate-once>
|
<script data-navigate-once>
|
||||||
@auth
|
@auth
|
||||||
window.Pusher = Pusher;
|
window.Pusher = Pusher;
|
||||||
window.Echo = new Echo({
|
window.Echo = new Echo({
|
||||||
broadcaster: 'pusher',
|
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',
|
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,
|
wsPort: "{{ env('PUSHER_PORT') }}" || 6001,
|
||||||
wssPort: "{{ env('PUSHER_PORT') }}" || 6001,
|
wssPort: "{{ env('PUSHER_PORT') }}" || 6001,
|
||||||
forceTLS: false,
|
forceTLS: false,
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"version": "3.12.36"
|
"version": "3.12.36"
|
||||||
},
|
},
|
||||||
"v4": {
|
"v4": {
|
||||||
"version": "4.0.0-beta.156"
|
"version": "4.0.0-beta.157"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user