diff --git a/resources/views/index.blade.php b/resources/views/index.blade.php index eb63e6f3..fba578ee 100644 --- a/resources/views/index.blade.php +++ b/resources/views/index.blade.php @@ -74,7 +74,7 @@ // todo: refactoring let config = { - ip: '{{ request()->ip() }}', + ip: '{{ config('broadcasting.connections.pusher.options.host') }}', host: '{{ url('/') }}', api: '{{ url('/api') }}', locale: '{{ app()->getLocale() }}',