Fixes and general progress
This commit is contained in:
parent
709c6685a9
commit
1dad72bf13
15 changed files with 133 additions and 34 deletions
|
@ -6,6 +6,8 @@ require 'rails/all'
|
|||
# you've limited to :test, :development, or :production.
|
||||
Bundler.require(*Rails.groups)
|
||||
|
||||
Dotenv::Railtie.load
|
||||
|
||||
module Mastodon
|
||||
class Application < Rails::Application
|
||||
# Settings in config/environments/* take precedence over those specified here.
|
||||
|
|
|
@ -38,6 +38,4 @@ Rails.application.configure do
|
|||
|
||||
# Raises error for missing translations
|
||||
# config.action_view.raise_on_missing_translations = true
|
||||
|
||||
config.action_mailer.default_url_options = { host: ENV['NGROK_HOST'] }
|
||||
end
|
||||
|
|
|
@ -1 +1,6 @@
|
|||
LOCAL_DOMAIN = ENV['LOCAL_DOMAIN'] || 'localhost'
|
||||
HUB_URL = ENV['HUB_URL'] || 'https://pubsubhubbub.superfeedr.com'
|
||||
|
||||
Rails.application.configure do
|
||||
config.action_mailer.default_url_options = { host: LOCAL_DOMAIN }
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue