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);