Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
nicksagona committed Dec 13, 2023
1 parent 21dbae7 commit dc779e1
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,14 +131,20 @@ maintenance mode:
$ ./kettle app:down --secret
```

When the command finished, it will output the generate secret:
When the command finishes, it will output the auto-generated secret:

```text
The secret is SECRET_STRING
```

Use that string one time in the browser to view the application while it is still in maintenance mode.
It will store in the browser's cookies so subsequent requests will be valid:
You can also provide your own secret:

```bash
$ ./kettle app:down --secret=MY_SECRET_STRING
```

Use that string one time in the browser as a URL query parameter to view the application while it is
still in maintenance mode. It will store in the browser's cookies so subsequent requests will be valid:

```text
http://localhost:8000/?secret=SECRET_STRING
Expand Down

0 comments on commit dc779e1

Please sign in to comment.