fix: server URL generation in ServerPatchCheck notification
This commit is contained in:
parent
2c8c9a5e3c
commit
e29b517fef
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ class ServerPatchCheck extends CustomEmailNotification
|
||||||
public function __construct(public Server $server, public array $patchData)
|
public function __construct(public Server $server, public array $patchData)
|
||||||
{
|
{
|
||||||
$this->onQueue('high');
|
$this->onQueue('high');
|
||||||
$this->serverUrl = route('server.security.patches', ['server_uuid' => $this->server->uuid]);
|
$this->serverUrl = base_url().'/server/'.$this->server->uuid.'/security/patches';
|
||||||
if (isDev()) {
|
if (isDev()) {
|
||||||
$this->serverUrl = 'https://staging-but-dev.coolify.io/server/'.$this->server->uuid.'/security/patches';
|
$this->serverUrl = 'https://staging-but-dev.coolify.io/server/'.$this->server->uuid.'/security/patches';
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue