Compare commits
2 Commits
99fa759880
...
3646cb1777
Author | SHA1 | Date | |
---|---|---|---|
3646cb1777 | |||
88a444f9f7 |
@ -1,6 +1,5 @@
|
|||||||
module Faaso
|
module Faaso
|
||||||
module Commands
|
module Commands
|
||||||
|
|
||||||
# Controls a funko's scale
|
# Controls a funko's scale
|
||||||
#
|
#
|
||||||
# Scale is how many instances are running.
|
# Scale is how many instances are running.
|
||||||
|
@ -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
|
||||||
|
@ -54,7 +54,7 @@ DOC
|
|||||||
|
|
||||||
ans = Docopt.docopt(doc, ARGV)
|
ans = Docopt.docopt(doc, ARGV)
|
||||||
LogFormat.setup(ans["-v"].to_s.to_i)
|
LogFormat.setup(ans["-v"].to_s.to_i)
|
||||||
Log.debug {ans}
|
Log.debug { ans }
|
||||||
|
|
||||||
case ans
|
case ans
|
||||||
when .fetch("build", false)
|
when .fetch("build", false)
|
||||||
|
@ -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/"
|
|
Loading…
Reference in New Issue
Block a user