MCPcopy Create free account
hub / github.com/code-forge-io/react-router-devtools / getServerEnv

Function getServerEnv

docs/app/env.server.ts:39–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37}
38
39export function getServerEnv() {
40 if (env) return env
41 return initEnv()
42}
43
44/**
45 * Helper function which returns a subset of the environment vars which are safe expose to the client.

Callers 3

getLoadContextFunction · 0.90
generate-docs.tsFile · 0.90
getClientEnvFunction · 0.85

Calls 1

initEnvFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…