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 @@ class ServerPatchCheck extends CustomEmailNotification
{
$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