🧚 A practical web framework for Gleam

Correct example

authored by

Louis Pilfold and committed by
GitHub
8c95a65e b9dede25

+1 -1
+1 -1
examples/01-routing/src/app/router.gleam
··· 4 4 import app/web 5 5 6 6 pub fn handle_request(req: Request) -> Response { 7 - use _req <- web.middleware(req) 7 + use req <- web.middleware(req) 8 8 9 9 // Wisp doesn't have a special router abstraction, instead we recommend using 10 10 // regular old pattern matching. This is faster than a router, is type safe,