Skip to content

Commit

Permalink
Correct example
Browse files Browse the repository at this point in the history
  • Loading branch information
lpil committed Mar 6, 2024
1 parent b9dede2 commit 8c95a65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/01-routing/src/app/router.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import gleam/http.{Get, Post}
import app/web

pub fn handle_request(req: Request) -> Response {
use _req <- web.middleware(req)
use req <- web.middleware(req)

// Wisp doesn't have a special router abstraction, instead we recommend using
// regular old pattern matching. This is faster than a router, is type safe,
Expand Down

0 comments on commit 8c95a65

Please sign in to comment.