changeset 198:390210409719

minor - allow web dir listings git-svn-id: https://luan-java.googlecode.com/svn/trunk@199 21e917c8-12df-6dd8-5cb6-c86387c605b9
author fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
date Thu, 03 Jul 2014 20:52:55 +0000
parents 4c96cb73dd93
children 8960c81eb4bc
files web/src/luan/modules/web/Web_server.luan
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
diff -r 4c96cb73dd93 -r 390210409719 web/src/luan/modules/web/Web_server.luan
--- a/web/src/luan/modules/web/Web_server.luan	Thu Jul 03 18:36:46 2014 +0000
+++ b/web/src/luan/modules/web/Web_server.luan	Thu Jul 03 20:52:55 2014 +0000
@@ -30,6 +30,7 @@
 luan_handler = Http.new_luan_handler()
 
 resource_handler = ResourceHandler.new()
+resource_handler.setDirectoriesListed(true)
 
 handlers = HandlerList.new()
 handlers.setHandlers { authentication_handler, luan_handler, resource_handler }