Skip to content

Commit c9a4b7a

Browse files
authored
docs: fix preview.cors description (#19271)
1 parent 3aa10b7 commit c9a4b7a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/config/preview-options.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,9 @@ Uses [`http-proxy`](https://github.com/http-party/node-http-proxy). Full options
8787
- **Type:** `boolean | CorsOptions`
8888
- **Default:** [`server.cors`](./server-options#server-cors)
8989

90-
Configure CORS for the preview server. This is enabled by default and allows any origin. Pass an [options object](https://github.com/expressjs/cors#configuration-options) to fine tune the behavior or `false` to disable.
90+
Configure CORS for the preview server.
91+
92+
See [`server.cors`](./server-options#server-cors) for more details.
9193

9294
## preview.headers
9395

0 commit comments

Comments
 (0)