Skip to content

Commit

Permalink
Use Blaze as default http4s backend (close #380)
Browse files Browse the repository at this point in the history
  • Loading branch information
benjben authored and peel committed Nov 10, 2023
1 parent f596b79 commit 983a190
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ object HttpServer {
secure: Boolean
): Resource[F, Server] =
sys.env.get("HTTP4S_BACKEND").map(_.toUpperCase()) match {
case Some("EMBER") | None => buildEmberServer[F](app, interface, port, secure)
case Some("BLAZE") => buildBlazeServer[F](app, port, secure)
case Some("BLAZE") | None => buildBlazeServer[F](app, port, secure)
case Some("EMBER") => buildEmberServer[F](app, interface, port, secure)
case Some("NETTY") => buildNettyServer[F](app, port, secure)
case Some(other) => throw new IllegalArgumentException(s"Unrecognized http4s backend $other")
}
Expand Down

0 comments on commit 983a190

Please sign in to comment.