Skip to content

Commit

Permalink
Fix for automatic mails being broken (#481)
Browse files Browse the repository at this point in the history
* intial commit

* edited .env file
  • Loading branch information
lodewiges authored Jan 14, 2025
1 parent 6ee4b7e commit bddcd8e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,8 @@ POSTGRES_PASSWORD=<password>
HOST=csvalpha.nl

NGROK_HOST=<subdomain>.ngrok.io

NOREPLY_EMAIL=[email protected]
ICT_EMAIL=[email protected]
PRIVACY_EMAIL=[email protected]
MAILADMIN_EMAIL=[email protected]
8 changes: 4 additions & 4 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ class Application < Rails::Application

config.x.healthcheck_ids = credentials.dig(Rails.env.to_sym, :healthcheck_ids)

config.x.noreply_email = ENV.fetch('NOREPLY_EMAIL', 'no-reply@csvalpha.com')
config.x.ict_email = ENV.fetch('ICT_EMAIL', 'ict@csvalpha.com')
config.x.privacy_email = ENV.fetch('PRIVACY_EMAIL', 'privacy@csvalpha.com')
config.x.mailbeheer_email = ENV.fetch('PRIVACY_EMAIL', 'mailbeheer@csvalpha.com')
config.x.noreply_email = ENV.fetch('NOREPLY_EMAIL', 'no-reply@csvalpha.nl')
config.x.ict_email = ENV.fetch('ICT_EMAIL', 'ict@csvalpha.nl')
config.x.privacy_email = ENV.fetch('PRIVACY_EMAIL', 'privacy@csvalpha.nl')
config.x.mailbeheer_email = ENV.fetch('MAILADMIN_EMAIL', 'mailbeheer@csvalpha.nl')
end
end

0 comments on commit bddcd8e

Please sign in to comment.