mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Merge pull request #8885 from jibees/8882-handle-webpacker-error-for-email
Modify assets builder to get CSS inside emails when running in development mode
This commit is contained in:
@@ -68,6 +68,7 @@ Openfoodnetwork::Application.configure do
|
||||
# Show emails using Letter Opener
|
||||
config.action_mailer.delivery_method = :letter_opener
|
||||
config.action_mailer.default_url_options = { host: "0.0.0.0:3000" }
|
||||
config.action_mailer.asset_host = "http://localhost:3000"
|
||||
|
||||
config.log_level = ENV.fetch("DEV_LOG_LEVEL", :debug)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user