2016-02-24 08:17:07 +11:00
|
|
|
LOCAL_DOMAIN = ENV['LOCAL_DOMAIN'] || 'localhost'
|
|
|
|
HUB_URL = ENV['HUB_URL'] || 'https://pubsubhubbub.superfeedr.com'
|
|
|
|
CANONICAL_PROTOCOL = ENV['LOCAL_HTTPS'] == 'true' ? 'https://' : 'http://'
|
2016-02-23 04:10:30 +11:00
|
|
|
|
|
|
|
Rails.application.configure do
|
2016-02-24 08:17:07 +11:00
|
|
|
config.action_mailer.default_url_options = { host: LOCAL_DOMAIN, protocol: CANONICAL_PROTOCOL }
|
2016-02-23 04:10:30 +11:00
|
|
|
end
|