WebUI setup

This commit is contained in:
Julien Valverdé
2024-07-06 21:33:31 +02:00
parent 51077765e5
commit 73bee895b1
14 changed files with 179 additions and 3 deletions

View File

@@ -14,7 +14,7 @@ import { TRPCBuilder } from "./trpc/TRPCBuilder"
import { TRPCContextCreator } from "./trpc/TRPCContextCreator"
const ServerLive = ExpressHTTPServer.Live.pipe(
const ServerDev = ExpressHTTPServer.Live.pipe(
Layer.provide(RPCServer.Live),
Layer.provide(RPCPlayground.Dev),
Layer.provide(RPCRouter.Live),
@@ -70,7 +70,7 @@ const main = Effect.gen(function*() {
// )
// yield* Fiber.join(watcher)
yield* Layer.launch(ServerLive)
yield* Layer.launch(ServerDev)
})
BunRuntime.runMain(main.pipe(