Cleanup
This commit is contained in:
parent
35283a0aea
commit
ead5cfdcc6
@ -91,7 +91,8 @@ module Funko
|
|||||||
end
|
end
|
||||||
|
|
||||||
if env.params.query.fetch("format", "json") == "html"
|
if env.params.query.fetch("format", "json") == "html"
|
||||||
render "src/views/funkos.ecr" else
|
render "src/views/funkos.ecr"
|
||||||
|
else
|
||||||
result.to_json
|
result.to_json
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
require "./funko.cr"
|
require "./funko.cr"
|
||||||
require "./proxyconf.cr"
|
require "./proxy.cr"
|
||||||
require "./secrets.cr"
|
require "./secrets.cr"
|
||||||
require "./terminal.cr"
|
require "./terminal.cr"
|
||||||
require "compress/gzip"
|
require "compress/gzip"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
require "docr"
|
require "docr"
|
||||||
require "funko"
|
require "./funko.cr"
|
||||||
require "kemal"
|
require "kemal"
|
||||||
|
|
||||||
module Proxy
|
module Proxy
|
Loading…
Reference in New Issue
Block a user