Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/openstatusHQ/openstatus. ๐ซ Status page with uptime monitoring & API monitoring as code ๐ซ openstatus.dev
bun drizzle-orm monitoring monitoring-as-code nextjs observability on-call open-source shadcn-ui status-page statuspage synthetic-monitoring tinybird turso uptime uptime-checker uptime-monitor
Something went wrong. Try again.
609 B ยท 15 lines
TypeScript
12345678910111213141516/** * `NODE_ENV`, read so that bundlers cannot fold it away. * * `deno bundle` (esbuild) rewrites the exact expression `process.env.NODE_ENV` * to a string literal at build time โ `"development"` unless `--minify` is * passed, and `apps/server` bundles without it (see `apps/server/dofigen.yml`). * Reading through an aliased object defeats that substitution, so the value * comes from the real environment at runtime. */export const env = { get NODE_ENV(): string { const processEnv: Record<string, string | undefined> = process.env; return processEnv.NODE_ENV ?? "development"; },};