refactor: remove staging URL logic from ServerPatchCheck constructor
This commit is contained in:
parent
c4bfbad8e7
commit
bceef418c8
1 changed files with 0 additions and 3 deletions
|
|
@ -17,9 +17,6 @@ public function __construct(public Server $server, public array $patchData)
|
||||||
{
|
{
|
||||||
$this->onQueue('high');
|
$this->onQueue('high');
|
||||||
$this->serverUrl = base_url().'/server/'.$this->server->uuid.'/security/patches';
|
$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
|
public function via(object $notifiable): array
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue