Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

Commit 5245ba8

Browse files
committed
Do not test the length of the host value, check if it is null
1 parent 3f48a0f commit 5245ba8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/views/dashboard.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
methods: {
110110
connect() {
111111
this.pusher = new Pusher(this.app.key, {
112-
wsHost: this.app.host.length === 0 ? window.location.hostname : this.app.host,
112+
wsHost: this.app.host === null ? window.location.hostname : this.app.host,
113113
wsPort: this.port,
114114
disableStats: true,
115115
authEndpoint: '/{{ request()->path() }}/auth',

0 commit comments

Comments
 (0)