mirror of
https://github.com/amigan/rustypaste-pretty.git
synced 2024-11-22 04:19:47 -05:00
docs(readme): update auth token example
This commit is contained in:
parent
f1e85b64b7
commit
e178475971
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ $ CONFIG="$HOME/.rustypaste.toml" rustypaste
|
||||||
To enable basic HTTP auth, set the `AUTH_TOKEN` environment variable (via `.env`):
|
To enable basic HTTP auth, set the `AUTH_TOKEN` environment variable (via `.env`):
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ echo "AUTH_TOKEN=rustjerk" > .env
|
$ echo "AUTH_TOKEN=$(openssl rand -base64 16)" > .env
|
||||||
$ rustypaste
|
$ rustypaste
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue