diff --git a/app/controller/home.rb b/app/controller/home.rb index 5b13355..7c7fcce 100644 --- a/app/controller/home.rb +++ b/app/controller/home.rb @@ -2,6 +2,6 @@ class Home def call(env) - [200, {"Content-Type" => "text/html"}, View::Home.render] + [200, {"Content-Type" => "text/html"}, [View::Home.render]] end end \ No newline at end of file diff --git a/app/controller/ping.rb b/app/controller/ping.rb index ccaa704..b799a0a 100644 --- a/app/controller/ping.rb +++ b/app/controller/ping.rb @@ -1,5 +1,5 @@ class Ping def call(env) - ['200', {'Content-Type' => 'application/json'}, '{ "alive" : true }'] + ['200', {'Content-Type' => 'application/json'}, ['{ "alive" : true }']] end end \ No newline at end of file diff --git a/app/view/home.mustache b/app/view/home.mustache index 88a3717..3758017 100644 --- a/app/view/home.mustache +++ b/app/view/home.mustache @@ -2,6 +2,8 @@