Skip to content

Commit

Permalink
📝 Improve the HTTP server documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Log1x committed Feb 7, 2024
1 parent 7372e8e commit d9bfd53
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions content/docs/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,3 +164,11 @@ Once a token has been generated, the easiest way to access your protected route
```
http://localhost:8080/?token=<token>
```

## Debugging

While in an environment that is not `production`, the HTTP server will return Symfony error pages and the default Laravel response code pages.

![Exception Screenshot](/images/http-server-exception.png)

When in production, all responses are instead returned as generic `JSON` and exception messages are not shown.
Binary file added public/images/http-server-exception.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d9bfd53

Please sign in to comment.