From ee2436e8cf10968b5d222521cc0cab86d501f372 Mon Sep 17 00:00:00 2001 From: Arman Bilge Date: Fri, 12 May 2023 22:51:00 +0000 Subject: [PATCH] Add explicit type parameter --- build.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index 2602b0b2..6cf50f27 100644 --- a/build.sbt +++ b/build.sbt @@ -67,7 +67,7 @@ Global / fileServicePort := { case Method.GET -> Root / "ws" => wsb.build(identity) case req => - fileService[IO](FileService.Config(".")).orNotFound.run(req).map { res => + fileService[IO](FileService.Config[IO](".")).orNotFound.run(req).map { res => // TODO find out why mime type is not auto-inferred if (req.uri.renderString.endsWith(".js")) res.withHeaders(