Skip to content

Commit 83eecab

Browse files
authored
docs(config): fix type of preview.allowedHosts to 'string[] | true' (vitejs#2143)
1 parent 908ffc1 commit 83eecab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/preview-options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Vite ではなく他のサーバーがレスポンスを返す場合がありま
2121

2222
## preview.allowedHosts
2323

24-
- **型:** `string | true`
24+
- **型:** `string[] | true`
2525
- **デフォルト:** [`server.allowedHosts`](./server-options#server-allowedhosts)
2626

2727
Vite が応答することを許可するホスト名。

0 commit comments

Comments
 (0)