File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import env from '@vitrify/tools/env'
22
3- export { appConfig } from './env.js'
4- export { postgresConfig } from './postgres.js'
5-
63export function read ( key : string , defaultValue ?: string ) : string | undefined {
74 const val = env . read ( key )
85 if ( val !== undefined ) return val
Original file line number Diff line number Diff line change @@ -3,7 +3,8 @@ import modularApiPlugin from '@modular-api/api'
33import { createAccountMethods } from '@modular-api/fastify-oidc/kysely'
44import rateLimit from '@fastify/rate-limit'
55import { createRouter , createContext } from './trpc/index.js'
6- import { appConfig as config , env } from './config/index.js'
6+ import { appConfig as config } from './config/env.js'
7+ import { env } from './config/index.js'
78// @ts -expect-error no types
89import { fastifySsrPlugin as appSsrPlugin } from '@slimfact/app/fastify-ssr-plugin'
910import {
You can’t perform that action at this time.
0 commit comments