diff --git a/src/daemon/funko.cr b/src/daemon/funko.cr index 99f92a0..3ba07ec 100644 --- a/src/daemon/funko.cr +++ b/src/daemon/funko.cr @@ -91,8 +91,7 @@ module Funko end if env.params.query.fetch("format", "json") == "html" - render "src/views/funkos.ecr" - else + render "src/views/funkos.ecr" else result.to_json end end diff --git a/src/daemon/proxyconf.cr b/src/daemon/proxyconf.cr index b2621aa..6ccc5fd 100644 --- a/src/daemon/proxyconf.cr +++ b/src/daemon/proxyconf.cr @@ -1,4 +1,5 @@ require "docr" +require "funko" require "kemal" module Proxy diff --git a/src/funko.cr b/src/funko.cr index 5b37d32..70b0090 100644 --- a/src/funko.cr +++ b/src/funko.cr @@ -166,7 +166,6 @@ module Funko end # Return a list of image IDs for this funko, most recent first - # FIXME: use self.images and add filters def image_history docker_api = Docr::API.new(Docr::Client.new) begin