From e29b517fef37aeac1797b45aebf915fac87f12d9 Mon Sep 17 00:00:00 2001 From: Cinzya Date: Sun, 26 Oct 2025 02:50:41 +0200 Subject: [PATCH] fix: server URL generation in ServerPatchCheck notification --- app/Notifications/Server/ServerPatchCheck.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'; }