refactor: remove staging URL logic from ServerPatchCheck constructor

This commit is contained in:
Cinzya 2025-10-26 21:52:51 +01:00
parent c4bfbad8e7
commit bceef418c8

View file

@ -17,9 +17,6 @@ public function __construct(public Server $server, public array $patchData)
{
$this->onQueue('high');
$this->serverUrl = base_url().'/server/'.$this->server->uuid.'/security/patches';
if (isDev()) {
$this->serverUrl = 'https://staging-but-dev.coolify.io/server/'.$this->server->uuid.'/security/patches';
}
}
public function via(object $notifiable): array