faaso/src/daemon/main.cr

20 lines
325 B
Crystal
Raw Normal View History

2024-07-02 22:08:14 +00:00
require "./funko.cr"
2024-07-01 14:48:52 +00:00
require "./proxyconf.cr"
2024-07-02 14:27:27 +00:00
require "./secrets.cr"
require "./terminal.cr"
2024-06-30 16:11:35 +00:00
require "compress/gzip"
2024-07-01 13:16:48 +00:00
require "crystar"
require "docr"
2024-06-30 14:55:46 +00:00
require "kemal-basic-auth"
2024-06-30 16:11:35 +00:00
require "kemal"
require "uuid"
2024-06-30 14:55:46 +00:00
# FIXME: make configurable
basic_auth "admin", "admin"
2024-07-04 14:19:24 +00:00
get "/" do |env|
env.redirect "index.html"
end
Kemal.run