Adding configurable e-mail blacklist

This commit is contained in:
Eugen Rochko 2016-12-04 19:07:02 +01:00
parent 41b4be699f
commit b362de2232
6 changed files with 31 additions and 1 deletions

View file

@ -1,7 +1,9 @@
# frozen_string_literal: true
port = ENV.fetch('PORT') { 3000 }
host = ENV.fetch('LOCAL_DOMAIN') { "localhost:#{port}" }
https = ENV['LOCAL_HTTPS'] == 'true'
Rails.application.configure do
config.x.local_domain = host
config.x.hub_url = ENV.fetch('HUB_URL') { 'https://pubsubhubbub.superfeedr.com' }