File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -113,10 +113,10 @@ export const UserConfigSchema = z4.object({
113113 httpPort : z4 . coerce
114114 . number ( )
115115 . int ( )
116- . min ( 1 , "Invalid httpPort: must be at least 1 " )
116+ . min ( 0 , "Invalid httpPort: must be at least 0 " )
117117 . max ( 65535 , "Invalid httpPort: must be at most 65535" )
118118 . default ( 3000 )
119- . describe ( "Port number for the HTTP server (only used when transport is 'http')." )
119+ . describe ( "Port number for the HTTP server (only used when transport is 'http'). Use 0 for a random port. " )
120120 . register ( configRegistry , { overrideBehavior : "not-allowed" } ) ,
121121 httpHost : z4
122122 . string ( )
@@ -125,7 +125,7 @@ export const UserConfigSchema = z4.object({
125125 . register ( configRegistry , { overrideBehavior : "not-allowed" } ) ,
126126 httpHeaders : z4
127127 . object ( { } )
128- . passthrough ( )
128+ . loose ( )
129129 . default ( { } )
130130 . describe (
131131 "Header that the HTTP server will validate when making requests (only used when transport is 'http')."
You can’t perform that action at this time.
0 commit comments