Attempting to fix heroku not serving static assets

This commit is contained in:
Godwin
2013-10-28 23:15:59 -06:00
parent 693dcc31aa
commit 7a556ee126
2 changed files with 3 additions and 4 deletions
+2 -2
View File
@@ -27,7 +27,7 @@ Starterapp::Application.configure do
# config.assets.css_compressor = :sass
# 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.
config.assets.digest = true
@@ -36,7 +36,7 @@ Starterapp::Application.configure do
config.assets.version = '1.0'
# 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
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.