activitypub-academy/config/initializers/ostatus.rb

7 lines
225 B
Ruby
Raw Normal View History

2016-02-23 00:00:20 +09:00
LOCAL_DOMAIN = ENV['LOCAL_DOMAIN'] || 'localhost'
2016-02-23 02:10:30 +09:00
HUB_URL = ENV['HUB_URL'] || 'https://pubsubhubbub.superfeedr.com'
Rails.application.configure do
config.action_mailer.default_url_options = { host: LOCAL_DOMAIN }
end