lib/micropub/server/rails/middleware.rb in micropub-server-rails-0.1.0 vs lib/micropub/server/rails/middleware.rb in micropub-server-rails-0.1.1
- old
+ new
@@ -5,9 +5,11 @@
end
def call(env)
if env["PATH_INFO"] == "/micropub"
[200, { "Content-Type" => "text/plain; charset=utf-8" }, ["I am micropub"]]
+ else
+ @app.call env
end
end
end
end