fedibird-fe/config/initializers/ostatus.rb
2016-02-22 18:10:30 +01:00

6 lines
225 B
Ruby

LOCAL_DOMAIN = ENV['LOCAL_DOMAIN'] || 'localhost'
HUB_URL = ENV['HUB_URL'] || 'https://pubsubhubbub.superfeedr.com'
Rails.application.configure do
config.action_mailer.default_url_options = { host: LOCAL_DOMAIN }
end