Add 'hosts' application setting

This commit is contained in:
cryptogopher 2023-03-14 23:39:31 +01:00
parent 523fcd1353
commit 24f85d1d28

View File

@ -33,7 +33,10 @@ module FixinMe
# SETUP: Below settings need to be updated on a per-installation basis. # SETUP: Below settings need to be updated on a per-installation basis.
# #
# URL to use in sent e-mails # URL to use in sent e-mails.
config.action_mailer.default_url_options = {host: 'localhost'} config.action_mailer.default_url_options = {host: 'localhost'}
# List of hosts this app is available at.
# https://guides.rubyonrails.org/configuring.html#actiondispatch-hostauthorization
config.hosts << 'localhost'
end end
end end