Update shelf_static and enable directory listing

This commit is contained in:
Adam Barth 2015-07-31 20:27:50 -07:00
parent 0d57d60650
commit a9e4336a7b
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ main(List<String> argv) async {
}
Handler handler = createStaticHandler(Directory.current.path,
serveFilesOutsidePath: true);
serveFilesOutsidePath: true, listDirectories: true);
if (args['verbose'])
handler = const Pipeline().addMiddleware(logRequests()).addHandler(handler);

View File

@ -2,7 +2,7 @@ author: Chromium Authors <sky-dev@googlegroups.com>
dependencies:
args: ^0.13.0
shelf: ^0.6.2
shelf_static: ^0.2.2
shelf_static: ^0.2.3
description: Tools for building Sky applications
environment:
sdk: ">=1.8.0 <2.0.0"