Skip to content

Commit

Permalink
docs: update render.static false option
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Jun 2, 2021
1 parent 762d01c commit eeb9cf1
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -169,12 +169,12 @@ To collapse the logs, use `'collapsed'` value.

## static

- Type: `Object`
- Type: `Object` or `false`
- Default: `{}`

> Configure the `static/` directory behavior
> Configure `static/` directory behavior
See [serve-static](https://www.npmjs.com/package/serve-static) docs for possible options.
See [serve-static](https://www.npmjs.com/package/serve-static) docs for possible options. Alternatively, you can pass `false` to disable `serve-static` middleware entirely for the `static/` directory (for example, if you are hosting these files on a CDN).

Additional to them, we introduced a `prefix` option which defaults to `true`. It will add the router base to your static assets.

Expand Down

0 comments on commit eeb9cf1

Please sign in to comment.