Skip to content

Commit

Permalink
improve readme
Browse files Browse the repository at this point in the history
  • Loading branch information
allantatter committed Dec 1, 2021
1 parent 898893a commit 5d579d6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ In `routes/web.php` add a line:
ConsoleOverHttp::endpoint();
```

And configure an environment variable `CONSOLE_OVER_HTTP_TOKEN` to secure the endpoint.
Configure an environment variable `CONSOLE_OVER_HTTP_TOKEN` to secure the endpoint.

Visit the route in your app, e.g. http://localhost:4000/console?command=php%20artisan%20inspire&token=your-token

### Example - insecure usage

Expand Down

0 comments on commit 5d579d6

Please sign in to comment.