File tree 1 file changed +4
-2
lines changed
java/server/src/org/openqa/selenium/grid/server
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -46,9 +46,11 @@ public class BaseServerFlags implements HasRoles {
46
46
@ ConfigValue (section = "server" , name = "max-threads" , example = "12" )
47
47
private int maxThreads = Runtime .getRuntime ().availableProcessors () * 3 ;
48
48
49
- @ Parameter (description = "Whether the Selenium server should allow web browser connections from any host" , names = "--allow-cors" )
49
+ @ Parameter (names = "--allow-cors" ,
50
+ description = "Whether the Selenium server should allow web browser connections from any host" ,
51
+ arity = 1 )
50
52
@ ConfigValue (section = "server" , name = "allow-cors" , example = "true" )
51
- private Boolean allowCORS = false ;
53
+ private Boolean allowCORS ;
52
54
53
55
@ Parameter (description = "Private key for https" , names = "--https-private-key" )
54
56
@ ConfigValue (section = "server" , name = "https-private-key" , example = "\" /path/to/key.pkcs8\" " )
You can’t perform that action at this time.
0 commit comments