fix: check proxy after mount on server view
fix: change realtime console log version++
This commit is contained in:
@@ -15,7 +15,6 @@ class Status extends Component
|
|||||||
|
|
||||||
protected $listeners = ['proxyStatusUpdated', 'startProxyPolling'];
|
protected $listeners = ['proxyStatusUpdated', 'startProxyPolling'];
|
||||||
public function mount() {
|
public function mount() {
|
||||||
$this->checkProxy();
|
|
||||||
}
|
}
|
||||||
public function startProxyPolling()
|
public function startProxyPolling()
|
||||||
{
|
{
|
||||||
|
@@ -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.170',
|
'release' => '4.0.0-beta.171',
|
||||||
// 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.170';
|
return '4.0.0-beta.171';
|
||||||
|
@@ -18,7 +18,7 @@
|
|||||||
clearInterval(checkPusherInterval);
|
clearInterval(checkPusherInterval);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
console.log('Coolify is now connected to the new realtime service introduced in beta.154.');
|
console.log('Coolify Realtime Service is connected!');
|
||||||
clearInterval(checkPusherInterval);
|
clearInterval(checkPusherInterval);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
<div>
|
<div x-init="$wire.checkProxy()">
|
||||||
@if ($server->isFunctional())
|
@if ($server->isFunctional())
|
||||||
<div class="flex gap-2">
|
<div class="flex gap-2">
|
||||||
@if (data_get($server, 'proxy.status') === 'running')
|
@if (data_get($server, 'proxy.status') === 'running')
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
"version": "3.12.36"
|
"version": "3.12.36"
|
||||||
},
|
},
|
||||||
"v4": {
|
"v4": {
|
||||||
"version": "4.0.0-beta.170"
|
"version": "4.0.0-beta.171"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user