Mercurial Hosting > luan
changeset 1191:dada70cb57c1
put dir_handler before not_found_handler
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 25 Feb 2018 17:17:08 -0700 |
parents | db7d31f4089a |
children | e15a41a8b4b2 |
files | src/luan/modules/http/Server.luan |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
diff -r db7d31f4089a -r dada70cb57c1 src/luan/modules/http/Server.luan --- a/src/luan/modules/http/Server.luan Fri Feb 23 15:48:15 2018 -0700 +++ b/src/luan/modules/http/Server.luan Sun Feb 25 17:17:08 2018 -0700 @@ -77,7 +77,7 @@ local not_found_hander = NotFound.new(luan_handler) local handler = ListHandler.new( luan_handler, file_handler ) handler = IndexHandler.new(handler) - handler = ListHandler.new( handler, not_found_hander, dir_handler ) + handler = ListHandler.new( handler, dir_handler, not_found_hander ) handler = ContentTypeHandler.new(handler) handler = SafeHandler.new(handler) handler = LogHandler.new(handler)