Show frontend on /

This commit is contained in:
Roberto Alsina 2024-07-04 11:19:24 -03:00
parent 88a444f9f7
commit 3646cb1777
3 changed files with 6 additions and 3 deletions

View File

@ -11,4 +11,8 @@ require "uuid"
# FIXME: make configurable # FIXME: make configurable
basic_auth "admin", "admin" basic_auth "admin", "admin"
get "/" do |env|
env.redirect "index.html"
end
Kemal.run Kemal.run

View File

@ -8,4 +8,3 @@
ReverseOnly Yes ReverseOnly Yes
ReverseMagic Yes ReverseMagic Yes
ReversePath "/admin/" "http://127.0.0.1:3000/" ReversePath "/admin/" "http://127.0.0.1:3000/"
ReversePath "/faaso/hello/" "http://hello-c9ge0d:3000/"