1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-11-28 14:58:31 +09:00
whippy-edition/config/initializers/ostatus.rb

8 lines
347 B
Ruby
Raw Normal View History

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 02:10:30 +09:00
Rails.application.configure do
config.action_mailer.default_url_options = { host: LOCAL_DOMAIN, protocol: CANONICAL_PROTOCOL }
2016-02-23 02:10:30 +09:00
end