This commit is contained in:
Roberto Alsina 2024-07-04 17:02:34 -03:00
parent 35283a0aea
commit ead5cfdcc6
3 changed files with 4 additions and 3 deletions

View File

@ -91,7 +91,8 @@ 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

View File

@ -1,5 +1,5 @@
require "./funko.cr"
require "./proxyconf.cr"
require "./proxy.cr"
require "./secrets.cr"
require "./terminal.cr"
require "compress/gzip"

View File

@ -1,5 +1,5 @@
require "docr"
require "funko"
require "./funko.cr"
require "kemal"
module Proxy