Auto-Select first app in Dashboard
Do not verify SSL certificates while in development mode
This commit is contained in:
parent
dc994c754e
commit
7bd6645f85
|
|
@ -106,11 +106,16 @@
|
|||
logs: [],
|
||||
},
|
||||
|
||||
mounted() {
|
||||
this.app = this.apps[0] || null;
|
||||
},
|
||||
|
||||
methods: {
|
||||
connect() {
|
||||
this.pusher = new Pusher(this.app.key, {
|
||||
wsHost: window.location.hostname,
|
||||
wsPort: this.port,
|
||||
wssPort: this.port,
|
||||
disableStats: true,
|
||||
authEndpoint: '/{{ request()->path() }}/auth',
|
||||
auth: {
|
||||
|
|
|
|||
|
|
@ -48,6 +48,10 @@ class StartWebSocketServer extends Command
|
|||
{
|
||||
$connector = new Connector($this->loop, [
|
||||
'dns' => new DnsResolver(),
|
||||
'tls' => [
|
||||
'verify_peer' => config('app.env') === 'production',
|
||||
'verify_peer_name' => config('app.env') === 'production'
|
||||
]
|
||||
]);
|
||||
|
||||
$browser = new Browser($this->loop, $connector);
|
||||
|
|
|
|||
Loading…
Reference in New Issue