From bb0eb59728b5292690ea0b08f1a0fb76a3b8e121 Mon Sep 17 00:00:00 2001 From: Graham Blair Date: Sat, 19 Oct 2024 11:07:39 -0700 Subject: [PATCH] Allow the header of emails to link to a webpage other than the app URL --- backend/config/app.php | 1 + backend/resources/views/vendor/mail/html/message.blade.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/config/app.php b/backend/config/app.php index e302ce32..04ac89ac 100644 --- a/backend/config/app.php +++ b/backend/config/app.php @@ -45,6 +45,7 @@ ], 'email_logo_url' => env('APP_EMAIL_LOGO_URL'), + 'email_logo_link_url' => env('APP_EMAIL_LOGO_LINK_URL', env('APP_FRONTEND_URL', 'http://localhost')), 'email_footer_text' => env('APP_EMAIL_FOOTER_TEXT'), /* diff --git a/backend/resources/views/vendor/mail/html/message.blade.php b/backend/resources/views/vendor/mail/html/message.blade.php index c77007d4..3f12c2ef 100644 --- a/backend/resources/views/vendor/mail/html/message.blade.php +++ b/backend/resources/views/vendor/mail/html/message.blade.php @@ -1,7 +1,7 @@ {{-- Header --}} - + @if($appLogo = config('app.email_logo_url'))