Update README.md

This commit is contained in:
Tobe O 2016-06-24 18:23:32 -04:00 committed by GitHub
parent 63be4d3608
commit d2e8d41391

View file

@ -30,8 +30,8 @@ main() async {
# Options
`serveStatic` accepts two named parameters.
- **sourceDirectory**: A `Directory` containing the files to be served. If left null, then Angel will serve either from `build` or
`build/web`, depending on your `ANGEL_ENV`.
- **sourceDirectory**: A `Directory` containing the files to be served. If left null, then Angel will serve either from `web` (in development) or
`build/web` (in production), depending on your `ANGEL_ENV`.
- **indexFileNames**: A `List<String` of filenames that should be served as index pages. Default is `['index.html']`.
- **virtualRoot**: To serve index files, you need to specify the virtual path under which
angel_static is serving your files. If you are not serving static files at the site root,