Commit a9e4336a authored by Adam Barth's avatar Adam Barth

Update shelf_static and enable directory listing

parent 0d57d606
......@@ -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);
......
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment