mirror of
https://github.com/VibedByKaKi/t3-code-android-nightly.git
synced 2026-10-12 13:37:19 +02:00
13 lines
287 B
TypeScript
13 lines
287 B
TypeScript
import * as Config from "effect/Config"
|
|
import * as Effect from "effect/Effect"
|
|
import * as Schema from "effect/Schema"
|
|
|
|
const schema = Schema.Struct({
|
|
API_KEY: Schema.String,
|
|
PORT: Schema.Int,
|
|
LOCALHOST: Schema.URL
|
|
})
|
|
|
|
const config = Config.schema(schema)
|
|
|
|
Effect.runFork(config)
|