diff --git a/app/Notifications/Server/ServerPatchCheck.php b/app/Notifications/Server/ServerPatchCheck.php index 4d3053569..bfca19e40 100644 --- a/app/Notifications/Server/ServerPatchCheck.php +++ b/app/Notifications/Server/ServerPatchCheck.php @@ -16,7 +16,7 @@ class ServerPatchCheck extends CustomEmailNotification public function __construct(public Server $server, public array $patchData) { $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()) { $this->serverUrl = 'https://staging-but-dev.coolify.io/server/'.$this->server->uuid.'/security/patches'; }