| Let webrick serve static assets as well - warvox - VoIP based wardialing tool, … | |
| Log | |
| Files | |
| Refs | |
| README | |
| --- | |
| commit 04a4771635c22dd55a329522deadd3d91cecea89 | |
| parent 3f68dcb4855f7bb1ba65d40ec3c615aebc1639d6 | |
| Author: HD Moore <[email protected]> | |
| Date: Wed, 3 Nov 2010 08:37:45 +0000 | |
| Let webrick serve static assets as well | |
| Diffstat: | |
| M web/config/environments/production… | 2 +- | |
| 1 file changed, 1 insertion(+), 1 deletion(-) | |
| --- | |
| diff --git a/web/config/environments/production.rb b/web/config/environments/pr… | |
| @@ -29,7 +29,7 @@ Web::Application.configure do | |
| # Disable Rails's static asset server | |
| # In production, Apache or nginx will already do this | |
| - config.serve_static_assets = false | |
| + config.serve_static_assets = true | |
| # Enable serving of images, stylesheets, and javascripts from an asset server | |
| # config.action_controller.asset_host = "http://assets.example.com" |