|
@ -27,7 +27,7 @@ Starterapp::Application.configure do |
|
|
# config.assets.css_compressor = :sass |
|
|
# config.assets.css_compressor = :sass |
|
|
|
|
|
|
|
|
# Do not fallback to assets pipeline if a precompiled asset is missed. |
|
|
# Do not fallback to assets pipeline if a precompiled asset is missed. |
|
|
config.assets.compile = false |
|
|
config.assets.compile = true |
|
|
|
|
|
|
|
|
# Generate digests for assets URLs. |
|
|
# Generate digests for assets URLs. |
|
|
config.assets.digest = true |
|
|
config.assets.digest = true |
|
@ -36,7 +36,7 @@ Starterapp::Application.configure do |
|
|
config.assets.version = '1.0' |
|
|
config.assets.version = '1.0' |
|
|
|
|
|
|
|
|
# Specifies the header that your server uses for sending files. |
|
|
# Specifies the header that your server uses for sending files. |
|
|
# config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache |
|
|
config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache |
|
|
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx |
|
|
# 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. |
|
|
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies. |
|
|