Permalink
Browse files

No more directory listing please

  • Loading branch information...
1 parent f894dec commit 03381201399dcb2d19497d70268c03d5484f6b9f @iain iain committed Dec 2, 2011
File renamed without changes.
View
@@ -1,2 +1,2 @@
server: ruby server/server.rb
-client: thin -R client/static.ru start
+client: thin start
@@ -1,2 +0,0 @@
-!.gitignore
-
View
@@ -1,3 +0,0 @@
-root = File.expand_path(File.dirname(__FILE__))
-puts ">>> Serving #{root.inspect}"
-run Rack::Directory.new("#{root}")
View
@@ -0,0 +1,2 @@
+use Rack::Static , :urls => { "/" => "index.html" } , :root => "public"
+run Rack::URLMap.new("/" => Rack::Directory.new("public"))
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
@@ -8,7 +8,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
- <title></title>
+ <title>Distributed Soundboss</title>
<meta name="description" content="">
<meta name="author" content="">
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 0338120

Please sign in to comment.