lib/methan/server/config.ru in methan-0.1.2 vs lib/methan/server/config.ru in methan-0.1.3
- old
+ new
@@ -1,9 +1,9 @@
# -*- coding: utf-8 -*-
require 'methan/server'
use Rack::Static, {
- urls: ["/static"],
- root: Dir::pwd,
-}
-run Methan::Server.new
+ urls: ["/static"],
+ root: Dir::pwd,
+ }
+run Rack::Cascade.new([Rack::File.new("./"), Methan::Server.new])