lib/napa/middleware/app_monitor.rb in napa-0.1.2 vs lib/napa/middleware/app_monitor.rb in napa-0.1.3
- old
+ new
@@ -5,10 +5,10 @@
@app = app
end
def call(env)
if env['REQUEST_PATH'] == '/health'
- [200, {'Content-type' => 'application/json'}, [Napa::Identity.health.to_json]]
+ [200, { 'Content-type' => 'application/json' }, [Napa::Identity.health.to_json]]
else
@app.call(env)
end
end
end