import 'server-only'; import { origin } from '@lumina/libs/env'; import { createServerEnv } from '@lumina/libs/env/server'; /** Server variables; only server code imports them, through `env/server`. */ export const serverEnv = createServerEnv({ schema: { /** The gateway from inside the deployment network: server requests and the `/api` proxy. */ API_INTERNAL_ORIGIN: origin, }, runtimeEnv: process.env, skipValidation: process.env.SKIP_ENV_VALIDATION === 'true', });