Mercurial Hosting > luan
changeset 1250:e55a0c3696fb
webserver checks for file before luan
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 23 Jul 2018 17:23:48 -0600 |
parents | 0064f0d4facc |
children | ddd2ec2c0769 |
files | src/luan/modules/http/Server.luan |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/luan/modules/http/Server.luan Mon Jul 23 17:04:40 2018 -0600 +++ b/src/luan/modules/http/Server.luan Mon Jul 23 17:23:48 2018 -0600 @@ -73,7 +73,7 @@ local dir_handler = DirHandler.new(file_handler) local luan_handler = LuanHandler.new() local not_found_hander = NotFound.new(luan_handler) - local handler = ListHandler.new( luan_handler, file_handler ) + local handler = ListHandler.new( file_handler, luan_handler ) handler = IndexHandler.new(handler) handler = ListHandler.new( handler, dir_handler, not_found_hander ) handler = ContentTypeHandler.new(handler)