Skip to content

Commit

Permalink
Update Routes.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
Saturn225 authored Oct 26, 2024
1 parent 5f7d692 commit e59e2a8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions zio-http/shared/src/main/scala/zio/http/Routes.scala
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,6 @@ final case class Routes[-Env, +Err](routes: Chunk[zio.http.Route[Env, Err]]) { s
val tree = self.tree
Handler
.fromFunctionHandler[Request] { req =>
println(s"[DEBUG] Incoming request: Method = ${req.method}, Path = ${req.path}")

val chunk = tree.get(req.method, req.path)
def allowedMethods = tree.getAllMethods(req.path)
req.method match {
Expand Down

0 comments on commit e59e2a8

Please sign in to comment.