Skip to content

Commit

Permalink
js -> ts
Browse files Browse the repository at this point in the history
  • Loading branch information
rofrol authored Dec 26, 2018
1 parent f28b461 commit 99d4a83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion middleware/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ properties:
| Property | Default | Description |
| -------- | ------- | ----------- |
| `proxyUrl` | *Required* | Base URL of your running Rendertron proxy service. |
| `userAgentPattern` | A set of known bots that benefit from pre-rendering. [Full list.](https://github.com/samuelli/bot-render/blob/master/middleware/src/middleware.js) | RegExp for matching requests by User-Agent header. |
| `userAgentPattern` | A set of known bots that benefit from pre-rendering. [Full list.](https://github.com/samuelli/bot-render/blob/master/middleware/src/middleware.ts) | RegExp for matching requests by User-Agent header. |
| `excludeUrlPattern` | A set of known static file extensions. [Full list.](https://github.com/samuelli/bot-render/blob/master/middleware/src/middleware.js) | RegExp for excluding requests by the path component of the URL. |
| `injectShadyDom` | `false` | Force the web components polyfills to be loaded. [Read more.](https://github.com/samuelli/bot-render#web-components) |
| `timeout` | `11000` | Millisecond timeout for the proxy request to Rendertron. If exceeded, the standard response is served (i.e. `next()` is called). See also the [Rendertron timeout.](https://github.com/samuelli/bot-render#rendering-budget-timeout) |
Expand Down

0 comments on commit 99d4a83

Please sign in to comment.