Skip to content

Commit

Permalink
Example for --auth
Browse files Browse the repository at this point in the history
  • Loading branch information
leo committed Feb 21, 2017
1 parent 83ebb04 commit 190bc0d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ serve help

If you set the `--auth` flag, the package will look for a username and password in the `SERVE_USER` and `SERVE_PASSWORD` environment variables.

As an example, this is how such a command could look like:

```bash
SERVE_USER=leo SERVE_PASSWORD=1234 serve --auth
```

## API

You can also use the package inside your application. Just load it:
Expand Down

0 comments on commit 190bc0d

Please sign in to comment.