readme
This commit is contained in:
parent
ac2058be59
commit
8fc27551fa
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ main() async {
|
|||
The `VirtualDirectory` API accepts a few named parameters:
|
||||
- **source**: 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']`.
|
||||
- **indexFileNames**: A `List<String>` of filenames that should be served as index pages. Default is `['index.html']`.
|
||||
- **publicPath**: 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,
|
||||
please include this.
|
||||
|
|
Loading…
Reference in a new issue