This commit is contained in:
thosakwe 2016-11-23 12:23:17 -05:00
parent e7d5f6428f
commit ac2058be59

View file

@ -27,8 +27,9 @@ main() async {
final app = new Angel();
app.mount('/virtual', new VirtualDirectory(
source: new Directory('./public'),
source: new Directory('./foo/bar'),
publicPath: '/virtual'));
app.mount('/', new VirtualDirectory(source: new Directory('./public')));
await app.startServer();