Skip to content

Commit

Permalink
fix: broken link
Browse files Browse the repository at this point in the history
  • Loading branch information
TillaTheHun0 committed Jan 3, 2024
1 parent 5b59d32 commit 3c91d7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/docs/build/securing-hyper.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

In most cases, the hyper Server will need to validate incoming requests, so as to prevent unwanted access to hyper `Services` running on the hyper `Server`.

A common practice is to add [Custom Middleware](/docs/build/custom-middleware) to the hyper Config that is added to the hyper `Server` and enforces the AuthN/Z desired. For example, when using an HTTP based hyper `App`, a `Custom Middleware` could be used to check and verify incoming requests, perhaps a `Bearer` token in the `Authorization` header.
A common practice is to add [Custom Middleware](/docs/build/middleware) to the hyper Config that is added to the hyper `Server` and enforces the AuthN/Z desired. For example, when using an HTTP based hyper `App`, a `Custom Middleware` could be used to check and verify incoming requests, perhaps a `Bearer` token in the `Authorization` header.

Here is what that middleware might look like, when using the pre-built App [`app-express`](https://github.com/hyper63/hyper/tree/main/packages/app-express):

Expand Down

0 comments on commit 3c91d7d

Please sign in to comment.