Skip to content

Commit

Permalink
add request argument to wisp.log_request in README
Browse files Browse the repository at this point in the history
  • Loading branch information
TahaSh authored and lpil committed Apr 29, 2024
1 parent 03705e6 commit 7f20aa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ such as images and CSS.
import wisp.{type Request, type Response}
pub fn handle_request(request: Request) -> Response {
use <- wisp.log_request
use <- wisp.log_request(request)
use <- wisp.serve_static(request, under: "/static", from: "/public")
wisp.ok()
}
Expand Down

0 comments on commit 7f20aa7

Please sign in to comment.