mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-15 02:11:42 +00:00
entorno por defecto
This commit is contained in:
parent
f2683c3a5a
commit
11c4713839
2 changed files with 4 additions and 3 deletions
|
@ -1,6 +1,7 @@
|
|||
RAILS_ENV=
|
||||
IMAP_SERVER=
|
||||
DEFAULT_FROM=
|
||||
EXCEPTION_TO=
|
||||
SKEL_SUTTY=https://0xacab.org/sutty/skel.sutty.nl
|
||||
# XXX: Si cambiás esta variable, tenés que editar config/webpacker.yml también :(
|
||||
SUTTY=sutty.local
|
||||
|
|
|
@ -145,14 +145,14 @@ Rails.application.configure do
|
|||
domain: ENV.fetch('SUTTY', 'sutty.nl'),
|
||||
enable_starttls_auto: false
|
||||
}
|
||||
config.action_mailer.default_options = { from: ENV['DEFAULT_FROM'] }
|
||||
config.action_mailer.default_options = { from: ENV.fetch('DEFAULT_FROM', "noreply@sutty.nl") }
|
||||
|
||||
config.middleware.use ExceptionNotification::Rack,
|
||||
error_grouping: true,
|
||||
email: {
|
||||
email_prefix: '',
|
||||
sender_address: ENV['DEFAULT_FROM'],
|
||||
exception_recipients: ENV['EXCEPTION_TO'],
|
||||
sender_address: ENV.fetch('DEFAULT_FROM', "noreply@sutty.nl"),
|
||||
exception_recipients: ENV.fetch('EXCEPTION_TO', "errors@sutty.nl"),
|
||||
normalize_subject: true
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue