Incoming Salmon requests can be turned into follows and unfollows
This commit is contained in:
parent
fa33750105
commit
ee73d35eea
3 changed files with 49 additions and 13 deletions
|
@ -1,6 +1,7 @@
|
|||
LOCAL_DOMAIN = ENV['LOCAL_DOMAIN'] || 'localhost'
|
||||
HUB_URL = ENV['HUB_URL'] || 'https://pubsubhubbub.superfeedr.com'
|
||||
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 }
|
||||
config.action_mailer.default_url_options = { host: LOCAL_DOMAIN, protocol: CANONICAL_PROTOCOL }
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue