From 5245ba8098a6b5927a781743bedf1445897aad45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20K=C3=A4mmerling?= Date: Wed, 5 Dec 2018 14:38:42 +0100 Subject: [PATCH] Do not test the length of the host value, check if it is null --- resources/views/dashboard.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/dashboard.blade.php b/resources/views/dashboard.blade.php index 6f951f9..679f37f 100644 --- a/resources/views/dashboard.blade.php +++ b/resources/views/dashboard.blade.php @@ -109,7 +109,7 @@ methods: { connect() { this.pusher = new Pusher(this.app.key, { - wsHost: this.app.host.length === 0 ? window.location.hostname : this.app.host, + wsHost: this.app.host === null ? window.location.hostname : this.app.host, wsPort: this.port, disableStats: true, authEndpoint: '/{{ request()->path() }}/auth',