Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
keynmol committed Sep 27, 2024
1 parent 6734849 commit 97fa6d6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion backend/server.http4s.scala
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@ object OptimizerServer extends IOApp.Simple:
handleErrors(scribe.cats.io, routes(wbs).orNotFound)
)
.build
.useForever
.use: server =>
IO.println(s"Server running at ${server.baseUri}") *>
IO.never


def handleErrors(logger: Scribe[IO], routes: HttpApp[IO]): HttpApp[IO] =
import cats.syntax.all.*
Expand Down

0 comments on commit 97fa6d6

Please sign in to comment.