Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Tushar Mathur authored May 2, 2021
1 parent 0e7f8f8 commit 4d2d2bf
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 @@ -28,7 +28,7 @@ import zhttp.http._
import zhttp.service.Server

object HelloWorld extends App {
val app = Http.collect {
val app = Http.collect[Request] {
case Method.GET -> Root / "text" => Response.text("Hello World!")
}

Expand Down

0 comments on commit 4d2d2bf

Please sign in to comment.