Merge pull request #5433 from coollabsio/debug-emails

Emails
This commit is contained in:
Andras Bacsai
2025-03-26 17:27:34 +01:00
committed by GitHub
2 changed files with 1 additions and 5 deletions

View File

@@ -70,10 +70,6 @@ class EmailNotificationSettings extends Model
public function isEnabled() public function isEnabled()
{ {
if (isCloud()) {
return true;
}
return $this->smtp_enabled || $this->resend_enabled || $this->use_instance_email_settings; return $this->smtp_enabled || $this->resend_enabled || $this->use_instance_email_settings;
} }
} }

View File

@@ -83,7 +83,7 @@ class Test extends Notification implements ShouldQueue
'buttons' => [ 'buttons' => [
[ [
'text' => 'Go to your dashboard', 'text' => 'Go to your dashboard',
'url' => base_url(), 'url' => isDev() ? 'https://staging-but-dev.coolify.io' : base_url(),
], ],
], ],
]; ];