about summary refs log tree commit diff
path: root/config/initializers/ostatus.rb
blob: 624ea9ca041c087a39a3372a8c85b88b61480141 (plain) (blame)
1
2
3
4
5
6
7
LOCAL_DOMAIN       = ENV['LOCAL_DOMAIN'] || 'localhost'
HUB_URL            = ENV['HUB_URL']      || 'https://pubsubhubbub.superfeedr.com'
CANONICAL_PROTOCOL = ENV['LOCAL_HTTPS'] == 'true' ? 'https://' : 'http://'

Rails.application.configure do
  config.action_mailer.default_url_options = { host: LOCAL_DOMAIN, protocol: CANONICAL_PROTOCOL }
end