Commit 0365fefa authored by Adam Barth's avatar Adam Barth

Let sky_server follow links outside of the current directory

parent 470186ce
......@@ -24,6 +24,8 @@ main(List<String> argv) async {
}
VirtualDirectory currentDirectory = new VirtualDirectory('.')
..followLinks = true
..jailRoot = false
..allowDirectoryListing = true;
HttpServer server;
......@@ -43,6 +45,4 @@ main(List<String> argv) async {
server
..autoCompress = true
..listen(currentDirectory.serveRequest);
print('Sky server running on port $port');
}
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