Skip to content

Commit 91b5dc1

Browse files
authored
docs(config): fix type of preview.allowedHosts to 'string[] | true' (#20688)
1 parent f367453 commit 91b5dc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/config/preview-options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ See [`server.host`](./server-options#server-host) for more details.
2121

2222
## preview.allowedHosts
2323

24-
- **Type:** `string | true`
24+
- **Type:** `string[] | true`
2525
- **Default:** [`server.allowedHosts`](./server-options#server-allowedhosts)
2626

2727
The hostnames that Vite is allowed to respond to.

0 commit comments

Comments
 (0)