changes
This commit is contained in:
@@ -24,16 +24,14 @@ Qwaiter::Application.configure do
|
||||
|
||||
#config.ember.variant = :development
|
||||
|
||||
config.action_controller.asset_host = "http://#{ENV['MOZO_LOCAL_IP'] || 'localhost'}:3000"
|
||||
config.action_controller.asset_host = "https://assets.mozo.local"
|
||||
# config.web_console.automount = true
|
||||
|
||||
# Don't care if the mailer can't send
|
||||
config.action_mailer.raise_delivery_errors = false
|
||||
config.action_mailer.delivery_method = :letter_opener
|
||||
config.action_mailer.default_url_options = {
|
||||
host: ENV['MOZO_LOCAL_IP'] || 'localhost',
|
||||
port: 3000
|
||||
}
|
||||
config.action_mailer.default_url_options = { host: 'https://www.mozo.local' }
|
||||
config.action_controller.default_url_options = { host: 'https://www.mozo.local' }
|
||||
|
||||
# Print deprecation notices to the Rails logger
|
||||
config.active_support.deprecation = :log
|
||||
|
||||
@@ -33,8 +33,6 @@ Qwaiter::Application.configure do
|
||||
config.assets.css_compressor = :sass
|
||||
|
||||
|
||||
config.ember.variant = :production if defined?(Ember::Rails)
|
||||
|
||||
# Generate digests for assets URLs
|
||||
config.assets.digest = true
|
||||
# Don't fallback to assets pipeline if a precompiled asset is missed
|
||||
@@ -48,7 +46,7 @@ Qwaiter::Application.configure do
|
||||
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
|
||||
|
||||
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
|
||||
# config.force_ssl = true
|
||||
config.force_ssl = true
|
||||
|
||||
# See everything in the log (default is :info)
|
||||
# config.log_level = :debug
|
||||
@@ -71,7 +69,7 @@ Qwaiter::Application.configure do
|
||||
# Disable delivery errors, bad email addresses will be ignored
|
||||
config.action_mailer.raise_delivery_errors = false
|
||||
config.action_mailer.default_url_options = {
|
||||
host: 'www.mozo.bar'
|
||||
host: 'mozo.bar'
|
||||
}
|
||||
|
||||
config.action_mailer.delivery_method = :sendmail
|
||||
|
||||
Reference in New Issue
Block a user