You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: fail fast on --password without --user (#937)
* fix: fail fast on `--password` without `--user`
When passing a password without a username, http-server will launch
successfully but the first request with an Authorization header will
crash the server. This behavior is very inconvenient. This commit makes
it fail fast instead so you know there's a problem before you log out of
SSH or walk out of the house or office. Also alised `--user` to
`--username` for added convenience.
Resolves#935
* doc: update documentation for `--username` flag
0 commit comments