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:
parent
1b3cdbb78a
commit
08adcf3e3e
1 changed files with 2 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue