Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(readme): fix broken link #129

Merged
merged 1 commit into from
Jan 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
docs(readme): fix broken link
Signed-off-by: Frazer Smith <[email protected]>
Fdawgs authored Jan 16, 2024
commit d7b964476e0e0fbdb321533615359f7836ee9a67
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -102,7 +102,7 @@ fastify.after(() => {

On failed authentication, *@fastify/basic-auth* will call the Fastify
[generic error
handler](https://fastify.dev/docs/latest/Server/#seterrorhandler) with an error.
handler](https://fastify.dev/docs/latest/Reference/Server/#seterrorhandler) with an error.
*@fastify/basic-auth* sets the `err.statusCode` property to `401`.

In order to properly `401` errors: