Skip to content

Commit bd7e42b

Browse files
test: update the CLI help snapshot for the allowedOrigins description
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UjuMAuk9o6UazjHzcAQCTA
1 parent 7105107 commit bd7e42b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎test/cli/__snapshots__/basic.test.js.snap.webpack5‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ Options
6161
--watch-options-stdin Stop watching when stdin stream has ended.
6262
--allowed-hosts <value...> Allows to enumerate the hosts from which access to the dev server are allowed (useful when you are proxying dev server, by default is 'auto').
6363
--allowed-hosts-reset Clear all items provided in 'allowedHosts' configuration. Allows to enumerate the hosts from which access to the dev server are allowed (useful when you are proxying dev server, by default is 'auto').
64-
--allowed-origins <value...> Which origins may use the dev server: its HTTP endpoints, the hot module replacement connection and proxied WebSockets. 'auto' (the default) keeps the rules derived from 'allowedHosts'. A list of HTTP(S) origins allows those plus the page's own hostname, on any port, independently of 'allowedHosts'. 'all' allows every origin without turning off the 'Host' check.
65-
--allowed-origins-reset Clear all items provided in 'allowedOrigins' configuration. Which origins may use the dev server: its HTTP endpoints, the hot module replacement connection and proxied WebSockets. 'auto' (the default) keeps the rules derived from 'allowedHosts'. A list of HTTP(S) origins allows those plus the page's own hostname, on any port, independently of 'allowedHosts'. 'all' allows every origin without turning off the 'Host' check.
64+
--allowed-origins <value...> Which origins may use the dev server: its HTTP endpoints, the hot module replacement connection and proxied WebSockets. 'auto' (the default) keeps the rules derived from 'allowedHosts'. A list of HTTP(S) origins allows those plus the page's own origin, the host and port it reached the server by, independently of 'allowedHosts'. 'all' allows every origin without turning off the 'Host' check.
65+
--allowed-origins-reset Clear all items provided in 'allowedOrigins' configuration. Which origins may use the dev server: its HTTP endpoints, the hot module replacement connection and proxied WebSockets. 'auto' (the default) keeps the rules derived from 'allowedHosts'. A list of HTTP(S) origins allows those plus the page's own origin, the host and port it reached the server by, independently of 'allowedHosts'. 'all' allows every origin without turning off the 'Host' check.
6666
--bonjour Allows to broadcasts dev server via ZeroConf networking on start.
6767
--no-bonjour Disallows to broadcasts dev server via ZeroConf networking on start.
6868
--no-client Disables client script.

0 commit comments

Comments
 (0)