blarg. ActionDispatch::Static isnt always there. took out the option so people can run their ssl pods correctly for now

This commit is contained in:
Maxwell Salzberg 2012-01-18 17:27:19 -08:00
parent 1b3cdbb78a
commit 08adcf3e3e

View file

@ -38,7 +38,8 @@ Diaspora::Application.configure do
config.serve_static_assets = false
#force ssl in production
config.middleware.insert_before ActionDispatch::Static, "Rack::SSL"
config.middleware.insert_before Rack::Runtime, Rack::SSL
# Enable serving of images, stylesheets, and javascripts from an asset server
# config.action_controller.asset_host = "http://assets.example.com"