use product email url

This commit is contained in:
Pete Matsyburka
2024-11-22 10:15:51 +02:00
parent 58574abc6b
commit a377e45a63
7 changed files with 13 additions and 5 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ class ApplicationMailer < ActionMailer::Base
after_action :set_message_uuid
def default_url_options
Docuseal.default_url_options
Docuseal.default_url_options.merge(host: ENV.fetch('EMAIL_HOST', Docuseal.default_url_options[:host]))
end
def set_message_metadata