MCPcopy Index your code
hub / github.com/epicweb-dev/epic-stack / getEnv

Function getEnv

app/utils/env.server.ts:50–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48 * @returns all public ENV variables
49 */
50export function getEnv() {
51 return {
52 MODE: process.env.NODE_ENV,
53 SENTRY_DSN: process.env.SENTRY_DSN,
54 ALLOW_INDEXING: process.env.ALLOW_INDEXING,
55 }
56}
57
58type ENV = ReturnType<typeof getEnv>
59

Callers 2

entry.server.tsxFile · 0.90
loaderFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected