Skip to content

Commit 3ccbdbe

Browse files
committed
docs: fix preview.cors description (#19271)
1 parent e7eb3c5 commit 3ccbdbe

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: docs/config/preview-options.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,9 @@ Uses [`http-proxy`](https://github.com/http-party/node-http-proxy). Full options
8585
- **Type:** `boolean | CorsOptions`
8686
- **Default:** [`server.cors`](./server-options#server-cors)
8787

88-
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.
88+
Configure CORS for the preview server.
89+
90+
See [`server.cors`](./server-options#server-cors) for more details.
8991

9092
## preview.headers
9193

0 commit comments

Comments
 (0)