fix directory listings displaying on /
This commit is contained in:
parent
a7357c7f0d
commit
ae2901e859
|
@ -68,8 +68,8 @@ module CrystalGauntlet
|
||||||
server = HTTP::Server.new([
|
server = HTTP::Server.new([
|
||||||
HTTP::ErrorHandler.new,
|
HTTP::ErrorHandler.new,
|
||||||
HTTP::LogHandler.new,
|
HTTP::LogHandler.new,
|
||||||
CrystalGauntlet::GDHandler.new,
|
HTTP::StaticFileHandler.new("data/", fallthrough = true, directory_listing = false),
|
||||||
HTTP::StaticFileHandler.new("data/", directory_listing = true)
|
CrystalGauntlet::GDHandler.new
|
||||||
])
|
])
|
||||||
|
|
||||||
listen_on = URI.parse(ENV["LISTEN_ON"]? || "http://localhost:8080").normalize
|
listen_on = URI.parse(ENV["LISTEN_ON"]? || "http://localhost:8080").normalize
|
||||||
|
|
Loading…
Reference in New Issue