lib/pieces/server.rb in pieces-0.3.9 vs lib/pieces/server.rb in pieces-0.3.10
- old
+ new
@@ -19,14 +19,10 @@
files = files_to_serve(path)
build_path = "#{path}/build"
Rack::Builder.app do
use Rack::Reloader
-
- use Rack::Static, urls: files,
- root: build_path,
- index: 'index.html'
-
+ use Rack::Static, urls: files, root: build_path, index: 'index.html'
run Proc.new { |env| [404, {}, ['Not found']] }
end
end
private