readme
This commit is contained in:
parent
e7d5f6428f
commit
ac2058be59
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue