Working reverse proxy
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { BunRuntime } from "@effect/platform-bun"
|
||||
import { Todo } from "@todo-tests/common/data"
|
||||
import { Duration, Effect, Layer, Match, Option } from "effect"
|
||||
import { Duration, Effect, Layer, Logger, Match, Option } from "effect"
|
||||
import { ServerConfig } from "./ServerConfig"
|
||||
import { Services } from "./Services"
|
||||
import { ExpressApp } from "./http/ExpressApp"
|
||||
@@ -105,5 +105,6 @@ const main = Effect.gen(function*() {
|
||||
|
||||
BunRuntime.runMain(main.pipe(
|
||||
Effect.provide(Services.Dev),
|
||||
Effect.provide(Logger.structured),
|
||||
Effect.scoped,
|
||||
))
|
||||
|
||||
Reference in New Issue
Block a user