WebUI setup
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user