Closed kspearrin closed 2 years ago
Provide a way to bind a hostname to the serve webserver. Also, provide a secure default.
serve
Resolves https://github.com/bitwarden/cli/issues/518
listen
Launch serve command with and without hostname binding to ensure that it is not accessible from alternate hostnames (unless using all value).
all
npm run lint
Type of change
Objective
Provide a way to bind a hostname to the
serve
webserver. Also, provide a secure default.Resolves https://github.com/bitwarden/cli/issues/518
Code changes
listen
function, which starts a webserver. Default to localhost.serve
and add docs to support it.Testing requirements
Launch
serve
command with and without hostname binding to ensure that it is not accessible from alternate hostnames (unless usingall
value).Before you submit
npm run lint
) (required)