Skip to content

Commit 807fe9b

Browse files
committed
tidy
1 parent 4e8c2a0 commit 807fe9b

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

routes/src/buildRoutes.scala

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@ def frontendRoutes[F[_]](
6161

6262
end frontendRoutes
6363

64+
/** Assumes that assets are served from the server route from resources
65+
*
66+
* @param spaPrefix
67+
* \- configure the route you want the SPA to be served under
68+
* @return
69+
*/
6470
def defaultFrontendRoutes[F[_]](spaPrefix: String = "ui") =
6571
val frontendJs = org.http4s.server.staticcontent.resourceServiceBuilder[IO]("").toRoutes
6672
val serveIndexHtmlBelowSpaPrefix = HttpRoutes.of[IO] {

sjsls/src/build.runner.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ import java.util.Locale
44

55
import fs2.*
66
import fs2.concurrent.Topic
7-
import fs2.io.Watcher
8-
import fs2.io.Watcher.Event
97
import fs2.io.process.ProcessBuilder
108
import fs2.io.process.Processes
119

0 commit comments

Comments
 (0)