mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
8 lines
347 B
Ruby
8 lines
347 B
Ruby
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
|