summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2013-05-17 21:44:47 -0600
committermo khan <mo@mokhan.ca>2013-05-17 21:44:47 -0600
commit4c5af8e76db08915b9816a0a5f8e5b0f46647a25 (patch)
treea34e9139f1b6f2c0ca4f7e00ea261967d4c1778a
parentcc352a50f1d936654e8b7182be9002bcdab752a6 (diff)
gzip assets
-rw-r--r--config.ru2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.ru b/config.ru
index d55afdc..de4b2c2 100644
--- a/config.ru
+++ b/config.ru
@@ -21,4 +21,6 @@ module Booty
end
end
+use Rack::Deflater
+use Rack::Static, :urls => ["/images", "/js", "/css"], :root => "assets"
run Booty::Application.run