Skip to content

Commit

Permalink
Add explicit type parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
armanbilge committed May 12, 2023
1 parent 7f87666 commit ee2436e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit ee2436e

Please sign in to comment.