Skip to content

Commit 61e5403

Browse files
authored
Allow a string to be passed as the port config option (#766)
1 parent 2cf2939 commit 61e5403

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

lib/optionsSchema.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,14 @@
3434
},
3535
"port": {
3636
"description": "The port the server listens to.",
37-
"type": "number"
37+
"anyOf": [
38+
{
39+
"type": "number"
40+
},
41+
{
42+
"type": "string"
43+
}
44+
]
3845
},
3946
"socket": {
4047
"description": "The Unix socket to listen to (instead of on a host).",

0 commit comments

Comments
 (0)