mirror of
https://github.com/ershisan99/coolify.git
synced 2025-12-16 12:33:03 +00:00
22 lines
418 B
PHP
22 lines
418 B
PHP
<?php
|
|
|
|
namespace App\Http\Livewire\Server\Proxy;
|
|
|
|
use App\Jobs\ProxyContainerStatusJob;
|
|
use App\Models\Server;
|
|
use Livewire\Component;
|
|
|
|
class Status extends Component
|
|
{
|
|
public Server $server;
|
|
|
|
public function get_status()
|
|
{
|
|
dispatch_sync(new ProxyContainerStatusJob(
|
|
server: $this->server
|
|
));
|
|
$this->server->refresh();
|
|
$this->emit('proxyStatusUpdated');
|
|
}
|
|
}
|