From 8f70fb89c063ccd55c74118f07dbd59623cbc182 Mon Sep 17 00:00:00 2001
From: ilya <ilya@laptop.(none)>
Date: Fri, 23 Jul 2010 10:41:57 -0700
Subject: [PATCH] RS IZ Switching to production

---
 config/environments/production.rb | 2 +-
 config/thin.yml                   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/config/environments/production.rb b/config/environments/production.rb
index 5ee2784dd7..0dc2c9b999 100644
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -29,7 +29,7 @@ Diaspora::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"
diff --git a/config/thin.yml b/config/thin.yml
index c46f482c27..f60fed1031 100644
--- a/config/thin.yml
+++ b/config/thin.yml
@@ -7,7 +7,7 @@ max_conns: 1024
 require: []
 
 max_persistent_conns: 512
-environment: development
+environment: production
 servers: 1
 daemonize: true
 #chdir: /usr/applications/localhash/current
-- 
GitLab