Skip to content

Commit

Permalink
Docs: fixed type of hostname config prop
Browse files Browse the repository at this point in the history
  • Loading branch information
sgravrock committed Jun 15, 2024
1 parent 5d64627 commit ae94888
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions lib/types.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@
* compatibility, the browsers will be pointed to localhost, but the listening
* socket will listen on all IPs.
* @name ServerCtorOptions#hostname
* @type string
* @default "localhost"
* @type string | undefined
*/
/**
* The root directory of the project.
Expand Down Expand Up @@ -304,10 +305,7 @@
* @type string
*/
/**
* The hostname to use. This influences both the URL given to browsers and the
* addresses on which the socket listens. If blank, for backward
* compatibility, the browsers will be pointed to localhost, but the listening
* socket will listen on all IPs.
* @see ServerCtorOptions#hostname
* @name ServerStartOptions#hostname
* @type string
*/
Expand Down

0 comments on commit ae94888

Please sign in to comment.